[Intel-gfx] [PATCH 0/6] drm/i915/color: register & get config abstractions

Jani Nikula jani.nikula at intel.com
Wed May 17 12:38:15 UTC 2023


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

-- 
2.39.2



More information about the Intel-gfx mailing list