]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/psr: Allow setting I915_PSR_DEBUG_SU_REGION_ET_DISABLE via debugfs
authorJouni Högander <jouni.hogander@intel.com>
Wed, 29 May 2024 09:38:48 +0000 (12:38 +0300)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 3 Jun 2024 08:23:09 +0000 (11:23 +0300)
commit04d0aed08206a235470ca82c08f46aa7b73e97fc
tree50e320da6fd66d1e598a1e7eeb4937c07c97972e
parent16b65af8b746ca6af74fd45156e755f2c8fa2379
drm/i915/psr: Allow setting I915_PSR_DEBUG_SU_REGION_ET_DISABLE via debugfs

Currently setting I915_PSR_DEBUG_SU_REGION_ET_DISABLE (0x20) via psr_debug
debugfs interface is not allowed. This patch allows it.

v3:
  - ensure psr is disabled/enabled if enable_psr2_su_region_et changes
  - remove extra space
v2: ensure that fastset is performed when the bit changes

Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240529093849.1016172-6-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_psr.c