]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/{i915,xe}/display: drop intel_wakeref.h usage
authorJani Nikula <jani.nikula@intel.com>
Tue, 25 Nov 2025 13:24:43 +0000 (15:24 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 1 Dec 2025 13:18:13 +0000 (15:18 +0200)
commit450f04569ffd21e3caef878f22676694bbeadee0
tree6031d03f70ac03a77c26a4d4ff313f69407b2a9e
parente1c727e6288d50fc7b485c0a88112b0d8ec582e4
drm/{i915,xe}/display: drop intel_wakeref.h usage

Drop the display dependency on intel_wakeref.h header. The contract in
the parent interface is that -ENOENT means there's no tracking. It
doesn't actually require us to use a shared macro for it. Duplicate the
macro in the few places that need this instead of inlining, primarily
for documentation reasons.

This allows us to remove the xe compat intel_wakeref.h header.

v2: Define INTEL_WAKEREF_DEF in intel_display_power.h

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://patch.msgid.link/3599d0ec168d7ce7030582706acba66b616ab9f3.1764076995.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display_power.h
drivers/gpu/drm/xe/compat-i915-headers/intel_wakeref.h [deleted file]
drivers/gpu/drm/xe/display/xe_display_rpm.c