radeon/uvd: adjust the buffer offset when relocation is used
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 29 Sep 2016 14:50:10 +0000 (16:50 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 30 Sep 2016 10:38:52 +0000 (12:38 +0200)
commit3e7cced4b999478dee955e647bb777e1893f8cc6
treec4041900afa895bc27c2f393c6e81abcff4050b5
parenta48bf02d053fb3db88e9fe50764728657d78214a
radeon/uvd: adjust the buffer offset when relocation is used

We don't plan to use sub-allocated buffers with UVD, but just in case one
slips through, this increases the chances of things working out anyway.

Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c