drm/radeon/kms: add drm blit support for evergreen
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 9 Sep 2010 15:33:36 +0000 (11:33 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Oct 2010 01:46:30 +0000 (11:46 +1000)
commitd7ccd8fc11700502b5a104b7bad595b492a3aa1b
treedf2a228494a959470d3efd5a7c8cde9e642aca21
parent75fa0b08e50cb72715b58321e8259c47adfe4c6f
drm/radeon/kms: add drm blit support for evergreen

This patch implements blit support for bo moves using
the 3D engine.  It uses the same method as r6xx/r7xx:
- store the base state in an IB
- emit variable state and vertex buffers to do the blit

This allows the hw to move bos using the 3D engine and allows
full use of vram beyond the pci aperture size.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/Makefile
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/evergreen_blit_kms.c [new file with mode: 0644]
drivers/gpu/drm/radeon/evergreen_blit_shaders.c [new file with mode: 0644]
drivers/gpu/drm/radeon/evergreen_blit_shaders.h [new file with mode: 0644]
drivers/gpu/drm/radeon/evergreend.h
drivers/gpu/drm/radeon/r600_blit_kms.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h