drm/i915/dmc_wl: Allow enable_dmc_wl=3 to mean "always locked"
authorGustavo Sousa <gustavo.sousa@intel.com>
Thu, 19 Dec 2024 22:14:16 +0000 (19:14 -0300)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 7 Jan 2025 22:29:20 +0000 (14:29 -0800)
commit34e47bdbad0353acaf1eeecea64ffa711061b65c
tree1299485a1e43133171d10a605e4f0d3e6ae4eea7
parenta56d1e380d7475c154c39b08a3793a73e015589f
drm/i915/dmc_wl: Allow enable_dmc_wl=3 to mean "always locked"

When debugging issues that might be related to the DMC wakelock code, it
might be useful to compare runs with the lock acquired while DC states
are enabled vs the regular case. If issues disappear with the former, it
might be a symptom of something wrong in our code. Support having this
"always locked" behavior with enable_dmc_wl=3.

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-5-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