]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/pch: Make LPT LP a dedicated PCH type
authorJani Nikula <jani.nikula@intel.com>
Fri, 7 Feb 2025 10:17:36 +0000 (12:17 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 12 Feb 2025 10:36:18 +0000 (12:36 +0200)
commita5b55c18509500993b1540365c4f45ea1976ce97
tree7d4d7a0c2f1119ca327f32eb13b20cf07d6b9c86
parent4ce63ed330ff48cca1170464d4dabc7e75f663c9
drm/i915/pch: Make LPT LP a dedicated PCH type

Add PCH type PCH_LPT_LP and rename PCH_LPT to PCH_LPT_H for
consistency. Keep the existing HAS_PCH_LPT*() macros, but express them
in terms of the PCH types instead of looking at the device IDs
directly. This makes the PCH checks independent of the PCH device IDs.

Reviewed-by: Nemesa Garg <nemesa.garg@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/777b63f50b10fba1d768af25870e81b33267bdc8.1738923308.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_backlight.c
drivers/gpu/drm/i915/soc/intel_pch.c
drivers/gpu/drm/i915/soc/intel_pch.h