]> Gentwo Git Trees - linux/.git/commit
drm/i915: drop unused non-i915 IS_<PLATFORM> macros
authorJani Nikula <jani.nikula@intel.com>
Fri, 10 Oct 2025 08:00:21 +0000 (11:00 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 15 Oct 2025 07:55:51 +0000 (10:55 +0300)
commit56d9d03450f065fd31e56de5fafa7d498b318531
tree600104b57dd2ab37617ba1b39130023db727771d
parent3a5c5c472c0e94c7cb8a5173b839612f3b042487
drm/i915: drop unused non-i915 IS_<PLATFORM> macros

The IS_LUNARLAKE(), IS_BATTLEMAGE(), and IS_PANTHERLAKE() macros were
added for compatibility with the xe driver, for display needs, even
though i915 does not support the platforms in question. Display has
since moved away from the macros, and they are no longer needed. Remove.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20251010080021.1087315-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.h