drm/msm/dpu: Add a function to retrieve the current CTL status
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Sat, 11 Sep 2021 16:39:18 +0000 (18:39 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 18 Feb 2022 17:28:08 +0000 (20:28 +0300)
commit787067989c31971e0fbbaf910e6c5ac0d4f41d64
treebbef89a8bc76090beb6add5039845aebd4112b43
parent5752c921d267101e1abfc74a27a003b5c04e72bb
drm/msm/dpu: Add a function to retrieve the current CTL status

Add a function that returns whether the requested CTL is active or not:
this will be used in a later commit to fix command mode panel issues.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Link: https://lore.kernel.org/r/20210911163919.47173-1-angelogioacchino.delregno@somainline.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.h