drm/i915: Use intel_ types more consistently for color management code (v2)
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 10 Dec 2018 21:54:15 +0000 (13:54 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 10 Dec 2018 23:00:37 +0000 (15:00 -0800)
commit302da0cdf784f2aab5e84aaa14c0132d405542f9
tree4ee5a5a43f5f93bffb9b3c98ab75ba1aee2b8d9e
parentcd1d3ee90e5e5dc4da50b6c5d50bc74872288789
drm/i915: Use intel_ types more consistently for color management code (v2)

Try to be more consistent about intel_* types rather than drm_* types
for lower-level driver functions.  While we're at it, let's also be more
consistent with state variable naming (half of the platforms use the
name 'state' whereas the other half used 'crtc_state').

While we're touching these variables, let's also be more consistent
about always naming the intel_crtc_state's "crtc_state" rather than
"state" so that different platform types aren't using different naming
conventions.

v2:
 - s/state/crtc_state/ for consistency between platform types (Ville)
 - Drop the crtc parameter to intel_color_check(); we can just pull that
   out of the state object.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181210215415.19854-2-matthew.d.roper@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_color.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h