]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: don't update the fb base if there is no fb
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Jul 2012 16:11:08 +0000 (18:11 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 06:02:07 +0000 (08:02 +0200)
commit1fddf33c8e27e354ffd0cd7d7ac433ab61afa9da
tree7f7f1bb48df98937649489b9f3742ba9ebccfb80
parentd446cfacf9ddc7871d9e57d356f1409fb9245d43
drm/i915: don't update the fb base if there is no fb

Otherwise we'll set_fb complains pretty loudly if we the crtc is off
and userspace moves the NULL fb around a bit. Yeah, this actually
happens in the wild ...

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c