mbox series

[0/6] drm/i915/color: register & get config abstractions

Message ID cover.1684327004.git.jani.nikula@intel.com (mailing list archive)
Headers show
Series drm/i915/color: register & get config abstractions | expand

Message

Jani Nikula May 17, 2023, 12:38 p.m. UTC
Move the color related registers to intel_color_regs.h and move the
color config reads to intel_color_get_config() to declutter i915_reg.h
and intel_display.c, respectively.

BR,
Jani.

Jani Nikula (6):
  drm/i915/regs: split out intel_color_regs.h
  drm/i915/color: move CHV CGM pipe mode read to intel_color
  drm/i915: move HSW+ gamma mode read to intel_color
  drm/i915: move ILK+ CSC mode read to intel_color
  drm/i915/color: move SKL+ gamma and CSC enable read to intel_color
  drm/i915/color: move pre-SKL gamma and CSC enable read to intel_color

 drivers/gpu/drm/i915/display/hsw_ips.c        |   1 +
 drivers/gpu/drm/i915/display/intel_color.c    |  97 +++++++
 .../gpu/drm/i915/display/intel_color_regs.h   | 272 ++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_display.c  |  45 ---
 drivers/gpu/drm/i915/display/intel_overlay.c  |   1 +
 drivers/gpu/drm/i915/i915_reg.h               | 260 -----------------
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c   |   1 +
 7 files changed, 372 insertions(+), 305 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_color_regs.h