[Intel-gfx] [PATCH 0/6] drm/i915/color: cleanups and refactoring

Jani Nikula jani.nikula at intel.com
Thu Aug 17 15:53:02 UTC 2023


Split out register macros to a separate file, and move more color
register access to intel_color.c.

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   | 286 ++++++++++++++++++
 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               | 274 -----------------
 drivers/gpu/drm/i915/intel_gvt_mmio_table.c   |   1 +
 7 files changed, 386 insertions(+), 319 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_color_regs.h

-- 
2.39.2



More information about the Intel-gfx mailing list