]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: Remove crtc->config usage from intel_modeset_readout_hw_state()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Dec 2016 14:04:41 +0000 (16:04 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Jan 2017 15:34:27 +0000 (17:34 +0200)
commita8cd6da0c0d5b9dc7533f1d88098e9852dc2d5aa
tree049435bed221fec94c2df3f3e250e22a0745a7a6
parent7abbd11f344aa7abe29befb218774a1ea26018ac
drm/i915: Remove crtc->config usage from intel_modeset_readout_hw_state()

crtc->config is on its way out. Let's reduce our dependence on it a
little bit by removing it from intel_modeset_readout_hw_state().

Also replace crtc->acttive checks with crtc_state->base.active checks.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Suggested-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161222140442.7204-1-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c