]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/disp/dpu1: add inline function to validate format support
authorVinod Polimera <quic_vpolimer@quicinc.com>
Mon, 11 Apr 2022 16:37:00 +0000 (22:07 +0530)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 1 May 2022 23:07:08 +0000 (02:07 +0300)
commitb72192f424e33ccfa31180f405a6494624e87d56
treeef9010fb77903cbca0fb607e9fa2859a14b9575f
parentf271d3bfeba99b8af373d10343b02769febd8762
drm/msm/disp/dpu1: add inline function to validate format support

Check if the dpu format is supported or not using dpu_find_format.

Co-developed-by: Kalyan Thota <quic_kalyant@quicinc.com>
Signed-off-by: Kalyan Thota <quic_kalyant@quicinc.com>
Signed-off-by: Vinod Polimera <quic_vpolimer@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/481670/
Link: https://lore.kernel.org/r/1649695021-19132-2-git-send-email-quic_vpolimer@quicinc.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_formats.h
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c