The PCH detection code is a bit problematic in terms of making it independent of i915 core code. I don't have a solution yet, but while looking I came up with these small improvements. BR, Jani. Jani Nikula (3): drm/i915/pch: Make LPT LP a dedicated PCH type drm/i915/pch: Hide PCH device IDs drm/i915/pch: Remove unused i915->pch_id .../gpu/drm/i915/display/intel_backlight.c | 2 +- drivers/gpu/drm/i915/i915_drv.h | 1 - drivers/gpu/drm/i915/soc/intel_pch.c | 42 +++++++++++++---- drivers/gpu/drm/i915/soc/intel_pch.h | 45 +++---------------- drivers/gpu/drm/xe/xe_device_types.h | 1 - 5 files changed, 41 insertions(+), 50 deletions(-) -- 2.39.5