radeon/uvd: add UVD implementation v5
authorChristian König <christian.koenig@amd.com>
Wed, 3 Apr 2013 08:18:35 +0000 (10:18 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 11 Apr 2013 15:10:28 +0000 (17:10 +0200)
commit5b2855bfe79bfc3995969f2bf775d89b1bc1808a
tree5da3383f7c400cc037b6dbaa1695bbdf24b09563
parentf91e4d2c9d714bb7d667956cd93f216c18a434f4
radeon/uvd: add UVD implementation v5

Just everything you need for UVD with r600g and radeonsi.

v2: move UVD code to radeon subdir, clean up build system additions,
    remove an unused SI function, disable tiling on SI for now.
v3: some minor indentation fix and rebased
v4: dpb size calculation fixed
v5: implement proper fall-back in case the kernel doesn't support UVD,
    based on patches from Andreas Boll but cleaned up a bit more.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
17 files changed:
configure.ac
docs/README.UVD [new file with mode: 0644]
src/gallium/drivers/Makefile.am
src/gallium/drivers/r600/Makefile.am
src/gallium/drivers/r600/Makefile.sources
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_uvd.c [new file with mode: 0644]
src/gallium/drivers/radeon/Makefile.am
src/gallium/drivers/radeon/Makefile.sources
src/gallium/drivers/radeon/radeon_uvd.c [new file with mode: 0644]
src/gallium/drivers/radeon/radeon_uvd.h [new file with mode: 0644]
src/gallium/drivers/radeonsi/Makefile.am
src/gallium/drivers/radeonsi/Makefile.sources
src/gallium/drivers/radeonsi/radeonsi_pipe.c
src/gallium/drivers/radeonsi/radeonsi_pipe.h
src/gallium/drivers/radeonsi/radeonsi_uvd.c [new file with mode: 0644]