drm/i915/dmc_wl: Allow enable_dmc_wl=2 to mean "match any register"
authorGustavo Sousa <gustavo.sousa@intel.com>
Thu, 19 Dec 2024 22:14:15 +0000 (19:14 -0300)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 7 Jan 2025 22:29:20 +0000 (14:29 -0800)
commita56d1e380d7475c154c39b08a3793a73e015589f
tree57440baf6639da8f242ce2ce9ed3a934c27f613f
parent81a1d1f5d275547f51849e14401264f0e8147bd8
drm/i915/dmc_wl: Allow enable_dmc_wl=2 to mean "match any register"

When debugging issues that might be related to the DMC wakelock code, it
is sometimes useful to compare runs when we match any register offset vs
the regular case. If issues disappear when we take the wakelock for any
register, it might indicate that we are missing some offset to be
tracked. Support matching any register offset with enable_dmc_wl=2.

Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Reviewed-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241219221429.109668-4-gustavo.sousa@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/i915/display/intel_display_params.c
drivers/gpu/drm/i915/display/intel_dmc_wl.c