]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/kms: teardown crtc correctly when fb is destroyed.
authorDave Airlie <airlied@redhat.com>
Mon, 17 Aug 2009 03:11:23 +0000 (13:11 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 19 Aug 2009 04:11:34 +0000 (14:11 +1000)
commit5ef5f72febfea420ce58f670bad83830a5e5e3de
treede55d4d968b50611c2fd64f50ce502f14b0fc8a8
parent6a719e05330ef19acd9392dbbfb95a774776dee5
drm/kms: teardown crtc correctly when fb is destroyed.

If userspace destroys a framebuffer that is in use on a crtc,
don't just null it out, tear down the crtc properly so the
hw gets turned off.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c