]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/pps: drop wakeref parameter from with_intel_pps_lock()
authorJani Nikula <jani.nikula@intel.com>
Tue, 25 Nov 2025 13:24:39 +0000 (15:24 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 1 Dec 2025 13:18:13 +0000 (15:18 +0200)
commit9a8c267b878a7b163735c9371c2ccf103b685e34
tree819e91dca3bc79a3f7956d466782508f2079072d
parent357797f272c70f9b796636d2e795056f9e2e2b4f
drm/i915/pps: drop wakeref parameter from with_intel_pps_lock()

Add another level of macro abstraction, and declare the wakeref within
the for loop using __UNIQUE_ID. This allows us to drop a bunch of
boilerplate declarations and parameter passing.

Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://patch.msgid.link/f45a77708108dc4b606d732c1b011aa08fab72b5.1764076995.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/g4x_dp.c
drivers/gpu/drm/i915/display/intel_pps.c
drivers/gpu/drm/i915/display/intel_pps.h