radeon/uvd: update quantiser matrices only when requested
authorIndrajit Das <indrajit-kumar.das@amd.com>
Wed, 10 Jan 2018 09:40:17 +0000 (15:10 +0530)
committerChristian König <christian.koenig@amd.com>
Tue, 16 Jan 2018 09:50:08 +0000 (10:50 +0100)
commit38dee62c9a0ced17fb1f25256f9da3b163a16f81
tree7c41c849b46d4ab248511bb0faa902954ef825f1
parent1cbcd70b64860b7e23202919229595b18cd4fbb6
radeon/uvd: update quantiser matrices only when requested

Only upload them when the pointers are valid.

Signed-off-by: Indrajit Das <indrajit-kumar.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c