linux/drivers/gpu/drm/msm/dp
Jani Nikula ea1e7d6fdc drm/msm/dp: skip validity check for DP CTS EDID checksum
[ Upstream commit a251c9d8e3 ]

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 7948fe12d4 ("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>
History 2023-11-28 17:19:40 +00:00
..
dp_audio.c drm: Explicitly include correct DT includes 2023-07-21 09:12:43 +02:00
dp_audio.h drm/msm/dp: unregister audio driver during unbind 2023-04-26 16:45:35 -07:00
dp_aux.c drm/msm/dp: Return IRQ_NONE for unhandled interrupts 2023-04-06 20:29:44 +03:00
dp_aux.h drm/msm/dp: Return IRQ_NONE for unhandled interrupts 2023-04-06 20:29:44 +03:00
dp_catalog.c drm/msm/dp: enable HDP plugin/unplugged interrupts at hpd_enable/disable 2023-06-08 18:10:44 -07:00
dp_catalog.h drm/msm/dp: enable HDP plugin/unplugged interrupts at hpd_enable/disable 2023-06-08 18:10:44 -07:00
dp_ctrl.c drm/msm/dp: do not reinitialize phy unless retry during link training 2023-09-20 16:19:24 -07:00
dp_ctrl.h drm/msm/dp: remove most of usbpd-related remains 2023-06-04 05:44:53 +03:00
dp_debug.c drm/msm/dp: remove most of usbpd-related remains 2023-06-04 05:44:53 +03:00
dp_debug.h drm/msm/dp: remove most of usbpd-related remains 2023-06-04 05:44:53 +03:00
dp_display.c drm/msm/dp: Free resources after unregistering them 2023-06-15 13:20:31 +03:00
dp_display.h drm/msm/dp: Add basic PSR support for eDP 2023-03-13 04:43:49 +03:00
dp_drm.c drm/msm/dp: set self refresh aware based on PSR support 2023-03-13 04:43:50 +03:00
dp_drm.h drm/msm/dp: use atomic callbacks for DP bridge ops 2023-03-13 04:43:49 +03:00
dp_link.c drm/msm/dp: Add newlines to debug printks 2023-09-20 16:35:31 -07:00
dp_link.h drm/msm/dp: DisplayPort PHY compliance tests fixup 2020-11-04 08:26:25 -08:00
dp_panel.c drm/msm/dp: skip validity check for DP CTS EDID checksum 2023-11-28 17:19:40 +00:00
dp_panel.h drm/msm/dp: remove most of usbpd-related remains 2023-06-04 05:44:53 +03:00
dp_parser.c drm/msm/dp: Add capability to parser and retrieve max DP link supported rate from link-frequencies property of dp_out endpoint 2023-01-09 03:06:44 +02:00
dp_parser.h drm/msm/dp: Add capability to parser and retrieve max DP link supported rate from link-frequencies property of dp_out endpoint 2023-01-09 03:06:44 +02:00
dp_power.c drm/msm/dp: Clean up pdev/dev duplication in dp_power 2023-06-04 05:44:53 +03:00
dp_power.h drm/msm/dp: remove most of usbpd-related remains 2023-06-04 05:44:53 +03:00
dp_reg.h drm/msm/dp: Add basic PSR support for eDP 2023-03-13 04:43:49 +03:00