radeon/vce: adjust the buffer offset when relocation is used
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 29 Sep 2016 14:47:53 +0000 (16:47 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 30 Sep 2016 10:38:48 +0000 (12:38 +0200)
commita48bf02d053fb3db88e9fe50764728657d78214a
tree745b2889a5697b9b4ccc91e95efd4dfbffb01f94
parent13cb41f666212ed50a7939a37a373b4431a84033
radeon/vce: adjust the buffer offset when relocation is used

We don't plan to use sub-allocated buffers with VCE, 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_vce.c