]> git.karo-electronics.de Git - linux-beck.git/commit
drm/radeon/kms: cleanup r600 blit code
authorIlija Hadzic <ihadzic@research.bell-labs.com>
Thu, 13 Oct 2011 03:29:40 +0000 (23:29 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 Oct 2011 09:06:24 +0000 (10:06 +0100)
commit8eec9d6f74271fb69770b9fa3fa7d3659128720b
treea1f4a28a619c3ef20ac769c5b2f826ebe13a7fbe
parent638dd7db599de8c49cfaf9aca9d64d9a0649ff46
drm/radeon/kms: cleanup r600 blit code

reorganize the code such that only the primitives (i.e., the functions
that load the CP ring) are hardware specific; dynamically link the
primitives in a (new) pointer structure inside r600_blit at
blit initialization time so that the functions that control the blit
operations can be made common for r600 and evergreen parts

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_blit_kms.c
drivers/gpu/drm/radeon/radeon.h