drm/i915/soc: stop using IS_GEN9_LP() and IS_GEN9_BC()
authorJani Nikula <jani.nikula@intel.com>
Mon, 30 Sep 2024 12:40:56 +0000 (15:40 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 2 Oct 2024 09:06:20 +0000 (12:06 +0300)
commit0ca97fcdba9a42f4afd66a43129fb1d6dca0a26a
treeca1ff0245c5efe4cce4e91e92e19f6c3d798a99a
parent06f4d328438171f841f23dd34a14cbd545094485
drm/i915/soc: stop using IS_GEN9_LP() and IS_GEN9_BC()

Replace IS_GEN9_LP() and IS_GEN9_BC() with direct platform checks. This
lets us remove their compat counterparts, as neither soc/ nor /display
now no longer needs them.

v2: Use !A && !B instead of !(A || B) (Ville)

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> # v1
Link: https://patchwork.freedesktop.org/patch/msgid/20240930124056.3541988-2-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/soc/intel_dram.c
drivers/gpu/drm/i915/soc/intel_pch.c
drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h