summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2019-10-15 18:09:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-10-17 16:30:57 -0400
commit8c32d0438f9897692524b92036048091209a911e (patch)
tree007e01699c8a148f6850d46f43ce4c150ec8f3af /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentb24c459f9f2c531ae04ebbd906365b182262a53b (diff)
drm/amdgpu/vcn: fix allocation size in enc ring test
We need to allocate a large enough buffer for the session info, otherwise the IB test can overwrite other memory. - Session info is 128K according to mesa - Use the same session info for create and destroy Bug: https://bugzilla.kernel.org/show_bug.cgi?id=204241 Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: James Zhu <James.Zhu@amd.com> Tested-by: James Zhu <James.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions