]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: fix SDEIMR assertion when disabling LCPLL
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 19 Aug 2013 16:18:08 +0000 (13:18 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 23 Aug 2013 12:52:33 +0000 (14:52 +0200)
commitbd633a7c1ca0663ba10426a0a6aeda0257cbe804
tree226b7b2ee5fc5c06801d8a9557ffd6ce2d9fdc09
parent215733fadb87709e91b3a622d786865292c9ab11
drm/i915: fix SDEIMR assertion when disabling LCPLL

This was causing WARNs in one machine, so instead of trying to guess
exactly which hotplug bits should exist, just do the test on the
non-HPD bits. We don't care about the state of the hotplug bits, we
just care about the others, that need to be 1.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c