[PATCH 0/4] drm/i915/dmc_wl: Support extra values for dmc_wl_enable for debugging

Gustavo Sousa gustavo.sousa at intel.com
Thu Dec 19 22:14:12 UTC 2024


This series adds support for two new values for dmc_wl_enable for
debugging purposes:

  * 2 to mean "match any register", which makes the wakelock to be taken
    for every display MMIO transaction;
  * 3 to mean "always locked", which causes the lock to be taken as soon
    as the DMC wakelock mechanism is enabled and is kept locked until it
    is disabled.

Gustavo Sousa (4):
  drm/i915/dmc_wl: Use enum values for enable_dmc_wl
  drm/i915/dmc_wl: Show description string for enable_dmc_wl
  drm/i915/dmc_wl: Allow enable_dmc_wl=2 to mean "match any register"
  drm/i915/dmc_wl: Allow enable_dmc_wl=3 to mean "always locked"

 .../drm/i915/display/intel_display_params.c   |  2 +-
 drivers/gpu/drm/i915/display/intel_dmc_wl.c   | 73 +++++++++++++++----
 2 files changed, 61 insertions(+), 14 deletions(-)

-- 
2.47.1



More information about the Intel-gfx mailing list