]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/radeon/kms: free fence IB if it wasn't emited at IB free time
authorJerome Glisse <jglisse@redhat.com>
Thu, 18 Feb 2010 13:13:29 +0000 (13:13 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 19 Feb 2010 21:35:18 +0000 (07:35 +1000)
commit7d404c7b5f4c004712bc15ed6e6edd6779842126
tree1736892b1d1a20eed4422f82fd6b6977253eab4b
parentf0e2f38befa787f0267419082b33e8ac72269d77
drm/radeon/kms: free fence IB if it wasn't emited at IB free time

If at IB free time fence wasn't emited that means the IB wasn't
scheduled because an error occured somewhere, thus we can free
then fence and mark the IB as free.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_ring.c