]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite13fc59f62c8a9e2a45ef806bc8d59d97936d104
tree74850820833b0601e0ac0be3a7c749fabd7f19fe
parente200c0f4b2c292b3f36b42df5b62db1bf682c982
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