]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf70bee367d3419f1759d2a42087b7b64cb565a70
treed108739c81157021bef6f0fe4fa3676b35bd717b
parentb74904c691188e57c9fdc832e0aa7997cdb91ee4
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