]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/utils: drop unnecessary ifdefs
authorJani Nikula <jani.nikula@intel.com>
Mon, 29 Dec 2025 11:54:45 +0000 (13:54 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 30 Dec 2025 19:41:17 +0000 (21:41 +0200)
commitbb6a4985680b89653809bc4aa54c940796f14066
treec08616e01dbcec57cb6e43ed43e7fcafb8e73de9
parent51489bae202f629abb5c896b00099f0de22c875d
drm/i915/utils: drop unnecessary ifdefs

The i915_utils.h and intel_display_utils.h were in some cases included
from the same files, the former via i915_drv.h and the latter
directly. This lead to a clash between MISSING_CASE() and
fetch_and_zero() defined in both, requiring ifdefs.

With the display dependency on i915_drv.h removed, we can also remove
the now unnecessary ifdefs.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patch.msgid.link/f40a1fd365cbcfb77bd76ce0041c4523699f6052.1767009044.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display_utils.h
drivers/gpu/drm/i915/i915_utils.h