drm/radeon/kms: make r600-NI blit suspend code common
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Oct 2011 14:51:22 +0000 (10:51 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 Oct 2011 09:12:51 +0000 (10:12 +0100)
commit6ddddfe7341a6fa2db22d63084bfb1df9cce0724
treea21b66710dbcce73a4471d8fd0e5b033c1256ce3
parentfb3d9e97e1ad5f2c19b68fe5a0c6a95bf57c65c3
drm/radeon/kms: make r600-NI blit suspend code common

r600-NI shared the same blit suspend code.  Clean it up
and make it a shared function.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/rv770.c