]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clean conflicting modesetting registers upon init
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Dec 2010 15:37:31 +0000 (15:37 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Dec 2010 17:50:55 +0000 (17:50 +0000)
commite67f99c6ac72b90faa95dd2733e9c3f9e7153234
treecd3682cfff419c4d15639dbbb0f758c5ca0c91f2
parentb91c3244ada700a9376c090049d47aa6a4114612
drm/i915: Clean conflicting modesetting registers upon init

If we leave the registers in a conflicting state then when we attempt
to teardown the active mode, we will not disable the pipes and planes
in the correct order -- leaving a plane reading from a disabled pipe and
possibly leading to undefined behaviour.

Reported-and-tested-by: Andy Whitcroft <apw@canonical.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32078
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
drivers/gpu/drm/i915/intel_display.c