drm/i915: Fix hw state verifier access to crtc->state.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 11 May 2017 08:28:43 +0000 (10:28 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 11 May 2017 09:29:58 +0000 (11:29 +0200)
commit749d98b80b9e3743fa0297afb42441c551bf9c52
tree6fc976a5de8f0f0fa0d4ae3078c5f89a80af9c99
parenta8b9370fc79c1ec043194452a455b0b590be609a
drm/i915: Fix hw state verifier access to crtc->state.

We shouldn't inspect crtc->state, instead grab the crtc state.
At this point the hw state verifier should be able to run even if
crtc->state has been updated (which cannot currently happen).

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170511082844.13965-1-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c