]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix up the IBX transcoder B check
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 10 Sep 2012 19:58:29 +0000 (21:58 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Sep 2012 15:25:14 +0000 (17:25 +0200)
commit0ad395a9036293ea01ae9f344f40ce0214dc85ec
treedae8b110bc370ad8a597f6c6fd1c3e1c8cbc8ef4
parenta56fd74a1ed0cfd77d76e487a855210a939a137b
drm/i915: fix up the IBX transcoder B check

This has been added in

commit b71ec1c0626603af3358fda6b7a4f346c6f5b87e
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Jun 5 11:03:40 2012 +0200

    drm/i915: assert that the IBX port transcoder select w/a is implemented

Unfortunately I've failed to notice that these checks are not just
called for the port that is about to be disabled, but for all (which
makes sense for an assert ...), and the WARN missfired when disabling
another pipe than the one with the dp port.

Hence also check whether the port is actually disabled.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54688
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c