drm/i915: Use intel_pipe_will_have_type() in ironlake_crtc_compute_clock()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 25 Nov 2015 14:35:30 +0000 (16:35 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Dec 2015 14:03:51 +0000 (16:03 +0200)
commit7905df29b959cb657bd07be4e481a86844c98b51
tree509e1408a1036960b43fc7de444e6be044e2e0fa
parentcda0aaaf55b76e3515be1a9dcd7a1ca14d258ce5
drm/i915: Use intel_pipe_will_have_type() in ironlake_crtc_compute_clock()

ironlake_crtc_compute_clock() gets called during atomic compute phase,
so we must check the future pipe type instead of the current type.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1448462131-13321-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c