mbox series

[0/6] drm/i915/color: cleanups and refactoring

Message ID cover.1692287501.git.jani.nikula@intel.com (mailing list archive)
Headers show
Series drm/i915/color: cleanups and refactoring | expand

Message

Jani Nikula Aug. 17, 2023, 3:53 p.m. UTC
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

Comments

Hogander, Jouni Aug. 24, 2023, 2:23 p.m. UTC | #1
On Thu, 2023-08-17 at 18:53 +0300, Jani Nikula wrote:
> Split out register macros to a separate file, and move more color
> register access to intel_color.c.

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>

for the whole set.

> 
> 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
>