kernel_samsung_a53x/drivers/gpu/drm/msm
Kuogee Hsieh dba25ba410 drm/msm/dp: return correct Colorimetry for DP_TEST_DYNAMIC_RANGE_CEA case
[ Upstream commit fcccdafd91f8bdde568b86ff70848cf83f029add ]

MSA MISC0 bit 1 to 7 contains Colorimetry Indicator Field.
dp_link_get_colorimetry_config() returns wrong colorimetry value
in the DP_TEST_DYNAMIC_RANGE_CEA case in the current implementation.
Hence fix this problem by having dp_link_get_colorimetry_config()
return defined CEA RGB colorimetry value in the case of
DP_TEST_DYNAMIC_RANGE_CEA.

Changes in V2:
-- drop retrieving colorimetry from colorspace
-- drop dr = link->dp_link.test_video.test_dyn_range assignment

Changes in V3:
-- move defined MISCr0a Colorimetry vale to dp_reg.h
-- rewording commit title
-- rewording commit text to more precise describe this patch

Fixes: c943b4948b58 ("drm/msm/dp: add displayPort driver support")
Signed-off-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/574888/
Link: https://lore.kernel.org/r/1705526010-597-1-git-send-email-quic_khsieh@quicinc.com
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:13:24 +01:00
..
adreno Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
disp drm/msm/dpu: Ratelimit framedone timeout msgs 2024-11-18 12:13:18 +01:00
dp drm/msm/dp: return correct Colorimetry for DP_TEST_DYNAMIC_RANGE_CEA case 2024-11-18 12:13:24 +01:00
dsi drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks 2024-11-18 12:12:40 +01:00
edp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdmi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_atomic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_atomic_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_atomic_tracepoints.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_debugfs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_drv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_fb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_fbdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_fence.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_fence.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem_prime.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem_shrinker.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem_submit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gem_vma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpu_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpu_tracepoints.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_gpummu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_iommu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_kms.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_mmu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_perf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_rd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_ringbuffer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_ringbuffer.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msm_submitqueue.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
NOTES Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00