drm/i915: Move intel_ddi_set_vc_payload_alloc(false) to haswell_crtc_disable()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Aug 2014 18:27:34 +0000 (21:27 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 26 Aug 2014 12:01:18 +0000 (15:01 +0300)
commita4bf214ffc721f3b82321714d614be937b982a94
tree74850820833b0601e0ac0be3a7c749fabd7f19fe
parentd6dd6843ff4a57c662dbc378b9f99a9c034b0956
drm/i915: Move intel_ddi_set_vc_payload_alloc(false) to haswell_crtc_disable()

Somehow the intel_ddi_set_vc_payload_alloc(false) call has ended up
in ironlake_crtc_disable() rather than haswell_crtc_disable(). Move it
to the correct place.

intel_ddi_disable_transcoder_func() already disables the vc payload
allocation so this doesn't actually do anything more. The spec
says we should wait for some kind of ack after frobbing the bit. We
don't appear to do that currently, but if and when someone decides
that we should do it, intel_ddi_set_vc_payload_alloc() would appear
to be be the right place for it. So having the function call in
haswell_crtc_disable() seems like the right thing for the future
even if it does nothing currently.

Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_display.c