drm/amdgpu/vce: fix allocation size in enc ring test
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2019 15:36:47 +0000 (11:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:15:00 +0000 (16:15 -0400)
commit569557e524d8ca4c7564631a6f5328cf0ae817b8
treed108739c81157021bef6f0fe4fa3676b35bd717b
parent3a8b7d2761350b97545cde600e37861c1473c5da
drm/amdgpu/vce: fix allocation size in enc ring test

We need to allocate a large enough buffer for the
feedback buffer, otherwise the IB test can overwrite
other memory.

Reviewed-by: James Zhu <James.Zhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h