radeon/uvd: fix gpu_address for video surfaces
authorChristian König <christian.koenig@amd.com>
Mon, 11 Aug 2014 14:40:43 +0000 (16:40 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 12 Aug 2014 09:53:52 +0000 (11:53 +0200)
commit83012b50854c795294b4b9e8b2766bb5258dafea
tree5be7af469b684dedddadb9cd47e15e2e99979409
parent3b48f6a4c06db57a7203d247994b05e55c9418c1
radeon/uvd: fix gpu_address for video surfaces

We need to get the new gpu_address as well when
reallocating the cs buffer.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=82428

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Kai Wasserbäch <kai@dev.carbon-project.org>
src/gallium/drivers/r600/r600_uvd.c
src/gallium/drivers/radeonsi/si_uvd.c