mbox series

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

Message ID 20241219221429.109668-1-gustavo.sousa@intel.com (mailing list archive)
Headers show
Series drm/i915/dmc_wl: Support extra values for dmc_wl_enable for debugging | expand

Message

Gustavo Sousa Dec. 19, 2024, 10:14 p.m. UTC
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(-)