-
- Downloads
drm/msm/dpu: use drmm-managed allocation for dpu_encoder_phys
Change struct allocation of encoder's phys backend data to use drmm_kzalloc(). This removes the need to perform any actions on encoder destruction. Reviewed-by:Jessica Zhang <quic_jesszhan@quicinc.com> Signed-off-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/570051/ Link: https://lore.kernel.org/r/20231201211845.1026967-12-dmitry.baryshkov@linaro.org
Showing
- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c 5 additions, 4 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h 5 additions, 3 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h
- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c 4 additions, 11 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c
- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c 4 additions, 9 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c
- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c 4 additions, 17 deletionsdrivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c
Loading
Please register or sign in to comment