radeon/uvd: add session context buffer for polaris 10/11 v2
authorChristian König <christian.koenig@amd.com>
Thu, 7 Jul 2016 12:28:06 +0000 (14:28 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 18 Jul 2016 15:13:17 +0000 (17:13 +0200)
commit3e1ad846f9c2f3516861d03ba99c4cb22f5f1b6e
tree9cd8bb20f1ddb3a1a4a24a0835055706dcf7f176
parent134d6e4e4f980d738361bfcae1daedb8cc58b5df
radeon/uvd: add session context buffer for polaris 10/11 v2

This way we have unlimited UVD sessions.

v2: only enable it when kernel supports it as well.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c
src/gallium/drivers/radeon/radeon_uvd.h