[RFC v2 0/5] drm/i915/display: DMC wakelock implementation
Luca Coelho
luciano.coelho at intel.com
Thu Jan 11 09:16:18 UTC 2024
Hi,
This is the second version of my RFC with this implementation. What
changed from v1 is that I added a few more patches adding the
implementation in other helper functions.
This is still a bit rough. Ignore all the traces I added (I'll remove
them). I'm also planning to add debugfs entries to expose the
wakelock status and control it when testing. And I'll also add an
option to enable/disable the feature at some point.
Please review.
Cheers,
Luca.
Luca Coelho (4):
drm/i915/display: add support for DMC wakelocks
drm/i915/display: use wakelock in the remaining read operations
drm/i915/display: use wakelock in register waiting functions
drm/i915/display: use wakelock in the last write function
drivers/gpu/drm/i915/Makefile | 1 +
drivers/gpu/drm/i915/display/intel_de.h | 110 +++++++++-
drivers/gpu/drm/i915/display/intel_display.c | 4 +
.../gpu/drm/i915/display/intel_display_core.h | 4 +
.../drm/i915/display/intel_display_driver.c | 1 +
drivers/gpu/drm/i915/display/intel_dmc_regs.h | 18 ++
drivers/gpu/drm/i915/display/intel_wakelock.c | 191 ++++++++++++++++++
drivers/gpu/drm/i915/display/intel_wakelock.h | 34 ++++
drivers/gpu/drm/xe/Makefile | 1 +
9 files changed, 354 insertions(+), 10 deletions(-)
create mode 100644 drivers/gpu/drm/i915/display/intel_wakelock.c
create mode 100644 drivers/gpu/drm/i915/display/intel_wakelock.h
--
2.39.2
More information about the Intel-xe
mailing list