mbox series

[v2,0/8] drm/i915/pps: hide VLV/CHV PPS pipe stuff inside intel_pps.c

Message ID cover.1725883885.git.jani.nikula@intel.com (mailing list archive)
Headers show
Series drm/i915/pps: hide VLV/CHV PPS pipe stuff inside intel_pps.c | expand

Message

Jani Nikula Sept. 9, 2024, 12:15 p.m. UTC
v2 of [1], and largely changed to isolate VLV/CHV stuff too.

There are a couple of stragglers accessing intel_dp->pps directly, but
this is progress.

BR,
Jani.


[1] https://lore.kernel.org/r/cover.1725458428.git.jani.nikula@intel.com


Jani Nikula (8):
  drm/i915/pps: add vlv_ prefix to pps_pipe and active_pipe members
  drm/i915/pps: only touch the vlv_ members on VLV/CHV
  drm/i915/pps: add vlv_pps_pipe_init()
  drm/i915/pps: add vlv_pps_pipe_reset()
  drm/i915/pps: add vlv_pps_port_disable()
  drm/i915/pps: rename vlv_pps_init() to vlv_pps_port_enable()
  drm/i915/pps: add vlv_pps_backlight_initial_pipe()
  drm/i915/pps: move vlv_active_pipe() to intel_pps.c

 drivers/gpu/drm/i915/display/g4x_dp.c         |  32 +---
 drivers/gpu/drm/i915/display/g4x_dp.h         |   5 -
 .../drm/i915/display/intel_display_types.h    |   4 +-
 drivers/gpu/drm/i915/display/intel_dp.c       |  20 +--
 drivers/gpu/drm/i915/display/intel_pps.c      | 156 ++++++++++++------
 drivers/gpu/drm/i915/display/intel_pps.h      |  10 +-
 6 files changed, 128 insertions(+), 99 deletions(-)