]> Git Repo - J-linux.git/commit
drm/i915: use INTEL_WAKEREF_DEF instead of magic -1 for intel_wakeref_t
authorJani Nikula <[email protected]>
Wed, 18 Sep 2024 17:35:44 +0000 (20:35 +0300)
committerJani Nikula <[email protected]>
Mon, 30 Sep 2024 14:54:07 +0000 (17:54 +0300)
commit3b8567486b5f3e576341a6cdb4b8b6aba7dac512
tree1ae3ec1886d6846a464e662fdd925fe87e1841b0
parent4c1bfe259ed1d2ade826f95d437e1c41b274df04
drm/i915: use INTEL_WAKEREF_DEF instead of magic -1 for intel_wakeref_t

A number of places rely on the magic -1 to denote
INTEL_WAKEREF_DEF. Switch to the macro. Define it for xe as well.

Reviewed-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/57e5f1989113be4d63386478d9438cfc35a2a1f7.1726680898.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <[email protected]>
drivers/gpu/drm/i915/display/intel_display_power.c
drivers/gpu/drm/i915/display/intel_display_power.h
drivers/gpu/drm/i915/intel_runtime_pm.c
drivers/gpu/drm/i915/intel_wakeref.h
drivers/gpu/drm/xe/compat-i915-headers/intel_runtime_pm.h
drivers/gpu/drm/xe/compat-i915-headers/intel_wakeref.h
This page took 0.051562 seconds and 4 git commands to generate.