]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/msm/dpu: remove dpu_encoder_virt_ops
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 2 Jan 2023 15:47:47 +0000 (17:47 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 18 Jan 2023 01:26:27 +0000 (03:26 +0200)
commit59f0182a291c7e5fd6dd7803c26af8d01989fc91
tree6d82f7c52c6187b31577a50171a834259837c525
parenta00121d31f75b574eb7d5a6add5035bcbe35969f
drm/msm/dpu: remove dpu_encoder_virt_ops

Struct dpu_encoder_virt_ops is used to provide several callbacks to the
phys_enc backends. However these ops are static and are not supposed to
change in the foreseeble future. Drop the indirection and call
corresponding functions directly.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/516518/
Link: https://lore.kernel.org/r/20230102154748.951328-1-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c