drm/i915: move HSW+ gamma mode read to intel_color
authorJani Nikula <jani.nikula@intel.com>
Thu, 17 Aug 2023 15:53:05 +0000 (18:53 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 25 Aug 2023 10:12:21 +0000 (13:12 +0300)
commitefe6fcb2dc27c8256659fec77e3ad781b085ff8c
treec3c8064c704a569b7c535198967ad272ed738118
parent7f52ca642f800962529092f4c18bbcdcecc0d528
drm/i915: move HSW+ gamma mode read to intel_color

Abstract the platform specific register access better. The separate
hsw_read_gamma_mode() will make more sense with the following changes.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b7ddcc8b0fb783eb149864070821bdb695c40366.1692287501.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_color.c
drivers/gpu/drm/i915/display/intel_display.c