OSDN Git Service

drm/radeon: Use the ttm execbuf utilities
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 17 Nov 2010 12:38:32 +0000 (12:38 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 22 Nov 2010 03:25:23 +0000 (13:25 +1000)
commit147666fb3b93b8c484f562da33a37f886ddff768
tree24e383df4e984b907651f79d3fb0642aa0691426
parenteba67093f535322cb4f1c4b737319c0907a0c81d
drm/radeon: Use the ttm execbuf utilities

Rather than re-implementing in the Radeon driver,
Use the execbuf / cs / pushbuf utilities that comes with TTM.
This comes with an even greater benefit now that many spinlocks have been
optimized away...

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_cs.c
drivers/gpu/drm/radeon/radeon_object.c
drivers/gpu/drm/radeon/radeon_object.h