drm/i915/psr: Read all Panel Replay capability registers from DPCD
authorJouni Högander <jouni.hogander@intel.com>
Mon, 26 May 2025 12:05:03 +0000 (15:05 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Thu, 29 May 2025 05:13:39 +0000 (08:13 +0300)
commitdeb8d0fe88a71c53b2f3db3a17bd459ff436bbb0
treed462d57dfc69ee4f7158594e6df220113ca2959e
parent3e61b092e61d8f7f0b882f07ede9a0a553197e21
drm/i915/psr: Read all Panel Replay capability registers from DPCD

There are several Panel Replay capability register in DPCD. Read them
all for later use.

v2:
  - avoid using hardcoded indices
  - read all Panel Replay capability registers

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://lore.kernel.org/r/20250526120512.1702815-4-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_psr.c