]> git.baikalelectronics.ru Git - kernel.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)
commitf9fe106ec387de210d6697b52c8cf1989d170563
treede55d4d968b50611c2fd64f50ce502f14b0fc8a8
parentccaf70c9d2b2ee2116d1db0b57682c498ccc6a4c
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