drm/radeon: Add asic hook for dma copy to r200 cards.
authorPauli Nieminen <suokkos@gmail.com>
Thu, 11 Feb 2010 17:25:47 +0000 (17:25 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 18 Feb 2010 04:47:54 +0000 (14:47 +1000)
commit44ca7478d46aaad488d916f7262253e000ee60f9
tree112f20f173526a087f3a9e8c419f0ad1875bd1cb
parentd80eeb0f347b6effa06e11e7cbcb2e6c559bf404
drm/radeon: Add asic hook for dma copy to r200 cards.

r200 cards have dma engine which can be used to tranfer data
between vram and system memory.

r300 dma engine registers match r200 dma engine. Enabling
dma copy for r200 is simple as hooking r200 asic to already
existing function r300_copy_dma.

Rename r300_dma_copy to r200_dma_copyto reflect that supports
starts from r200 cards.

v2: Created a new asic object for r200 cards.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r200.c
drivers/gpu/drm/radeon/r300.c
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/radeon_device.c