]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/i915/psr: Check drm_dp_dpcd_read return value on PSR dpcd init
authorJouni Högander <jouni.hogander@intel.com>
Thu, 21 Aug 2025 04:59:17 +0000 (07:59 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 25 Aug 2025 06:12:46 +0000 (09:12 +0300)
commit9cc10041e9fe7f32c4817e3cdd806ff1986d266c
tree793049b39e4df353f0c2ba6dca7006fcc0fc77fe
parent2dbb3d70af6003dbf3c248cc01e36d7df142543a
drm/i915/psr: Check drm_dp_dpcd_read return value on PSR dpcd init

Currently we are ignoriong drm_dp_dpcd_read return values when reading PSR
and Panel Replay capability DPCD register. Rework intel_psr_dpcd a bit to
take care of checking the return value.

v2: use drm_dp_dpcd_read_data

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/20250821045918.17757-1-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_psr.c