radeon/vcn: update quantiser matrices only when requested
authorIndrajit Das <indrajit-kumar.das@amd.com>
Wed, 10 Jan 2018 09:42:44 +0000 (15:12 +0530)
committerChristian König <christian.koenig@amd.com>
Tue, 16 Jan 2018 09:51:00 +0000 (10:51 +0100)
commitf5277e84925b69b0bf01340122684becd45c1f7d
tree7b3fee8341769f5ed4db60ba91c14f4dcd61f296
parent38dee62c9a0ced17fb1f25256f9da3b163a16f81
radeon/vcn: update quantiser matrices only when requested

Only update 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_vcn_dec.c