radeon/uvd: set correct vega10 db pitch alignment
authorBoyuan Zhang <boyuan.zhang@amd.com>
Thu, 16 Mar 2017 21:52:33 +0000 (17:52 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 30 Mar 2017 12:44:33 +0000 (14:44 +0200)
commitcb8b84e3d01462d2e6cd264d9d4cb77f25386ff2
tree5a484005a97895e1bcb6b6df349fee3f530809b4
parent5eba761feeb4e742254bd28c435550023868fbec
radeon/uvd: set correct vega10 db pitch alignment

Create new function to get correct alignment based on Asics, and change
the corresponding decode message buffer and dpb buffer size calculations

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c