radeon/UVD: fix the decoding target pitch calculation
authorChristian König <christian.koenig@amd.com>
Wed, 8 Mar 2017 11:51:13 +0000 (12:51 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 13 Mar 2017 07:51:25 +0000 (08:51 +0100)
commit3e1e441aa05069e3eee906144cf96898e0b802e2
tree66c7febaf60bd730aeb2e86c0dc28e04f7afdf42
parentcee591a224466f344cf6ab504c66f527d4f95b6d
radeon/UVD: fix the decoding target pitch calculation

The firmware expects the value in pixel not bytes. Didn't made a difference
so far because we only used 8bpp surfaces.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Mark Thompson <sw@jkqxz.net>
src/gallium/drivers/radeon/radeon_uvd.c