]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: disable DDI_BUF_CTL at the correct time
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 5 Oct 2012 15:06:00 +0000 (12:06 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Oct 2012 22:42:52 +0000 (00:42 +0200)
commit5029685415a2f145da80a6dab9aff6eae62deea9
tree2d9ea92cb54d43f05fbaaeb0b9437e4266060974
parent07f454229750ecf8fad1587c770a2c8a3306931e
drm/i915: disable DDI_BUF_CTL at the correct time

And also properly wait for its idle bit.

You may notice that DDI_BUF_CTL is enabled in .enable but disabled in
.post_disable instead of .disable. Yes, the mode set sequence is not
exactly symmetrical, but let's assume the spec is correct unless we
can prove it's wrong.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c