Skip to content

drm/i915/pch: small cleanups, refactors

Jani Nikula intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/i915/pch: Make LPT LP a dedicated PCH typedrivers/gpu/drm/i915/display/intel_backlight.c drivers/gpu/drm/i915/soc/intel_pch.c drivers/gpu/drm/i915/soc/intel_pch.h+11 -132 replies
2/3drm/i915/pch: Hide PCH device IDsdrivers/gpu/drm/i915/soc/intel_pch.c drivers/gpu/drm/i915/soc/intel_pch.h+30 -311 reply
3/3drm/i915/pch: Remove unused i915->pch_iddrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/soc/intel_pch.c drivers/gpu/drm/xe/xe_device_types.h+0 -61 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchNemesa Garg
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] drm/i915/pch: small cleanups, refactors

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(-)
Signature · 1 line
2.39.5