kernel_samsung_a53x/drivers/gpu/drm/msm
Jani Nikula d566023e73 drm/msm/dp: skip validity check for DP CTS EDID checksum
[ Upstream commit a251c9d8e30833b260101edb9383b176ee2b7cb1 ]

The DP CTS test for EDID last block checksum expects the checksum for
the last block, invalid or not. Skip the validity check.

For the most part (*), the EDIDs returned by drm_get_edid() will be
valid anyway, and there's the CTS workaround to get the checksum for
completely invalid EDIDs. See commit 7948fe12d47a ("drm/msm/dp: return
correct edid checksum after corrupted edid checksum read").

This lets us remove one user of drm_edid_block_valid() with hopes the
function can be removed altogether in the future.

(*) drm_get_edid() ignores checksum errors on CTA extensions.

Cc: Abhinav Kumar <quic_abhinavk@quicinc.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Kuogee Hsieh <khsieh@codeaurora.org>
Cc: Marijn Suijten <marijn.suijten@somainline.org>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Sean Paul <sean@poorly.run>
Cc: Stephen Boyd <swboyd@chromium.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: freedreno@lists.freedesktop.org
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/555361/
Link: https://lore.kernel.org/r/20230901142034.580802-1-jani.nikula@intel.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:43:13 +01:00
..
adreno Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
disp drm/msm/dpu: change _dpu_plane_calc_bw() to use u64 to avoid overflow 2024-11-08 11:25:44 +01:00
dp drm/msm/dp: skip validity check for DP CTS EDID checksum 2024-11-18 11:43:13 +01:00
dsi drm/msm/dsi: skip the wait for video mode done if not applicable 2024-11-08 11:25:44 +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