]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only enable the plane after setting the fb base (pre-ILK)
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Apr 2011 20:14:14 +0000 (21:14 +0100)
committerKeith Packard <keithp@keithp.com>
Mon, 9 May 2011 16:13:20 +0000 (09:13 -0700)
commitead7df59f53459075e67e14590382d51a9eb1aa9
tree772319c3c38dccb88e534665bb3a0f1e01c837d6
parent20d3df1eb6fde84ac818df449b2519ac66d69b39
drm/i915: Only enable the plane after setting the fb base (pre-ILK)

When enabling the plane, it is helpful to have already pointed that
plane to valid memory or else we may incur the wrath of a PGTBL_ER.
This code preserved the behaviour from the bad old days for unknown
reasons...

Found by assert_fb_bound_for_plane().

References: https://bugs.freedesktop.org/show_bug.cgi?id=36246
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c