drm/radeon/kms: Check if bo we got from ttm are radeon object or not
commitd03d858970a158fa82d9ba0d502bdea0bdb3ad33
authorJerome Glisse <jglisse@redhat.com>
Mon, 14 Dec 2009 20:02:09 +0000 (14 21:02 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 16 Dec 2009 05:38:55 +0000 (16 15:38 +1000)
tree95c0372e6ab373b2383cf19f7febcb77ecfc9a05
parent9fb03e63511cc20d413c2896396ba77df3db8411
drm/radeon/kms: Check if bo we got from ttm are radeon object or not

If they are not radeon object don't do anythings special for them,
this avoid rare oops than can happen in a complex use case.

[airlied: additional fixups]

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