drm/radeon/kms: clean up r6xx/r7xx blit init (v2)
authorAlex Deucher <alexdeucher@gmail.com>
Sat, 7 Aug 2010 01:36:58 +0000 (21:36 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Oct 2010 01:38:07 +0000 (11:38 +1000)
commitb70d6bb3f67b2e2964abafb0117f1733f062cba5
tree89a8b90694b85905d6731c1280910e30fb9881ab
parentfb7ba2114bcd8bb51640c20bc68f89164b29b9ed
drm/radeon/kms: clean up r6xx/r7xx blit init (v2)

Move common code to init function.

v2: make sure the bo is pinned after init as well.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600_blit_kms.c
drivers/gpu/drm/radeon/rv770.c