diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2019-10-15 18:07:19 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-17 17:12:34 -0400 |
commit | ce584a8e2885c7b59dfacba42db39761243cacb2 (patch) | |
tree | ac4a51d5aeda392899af885d4e8e44b5a6f4c67d /drivers/usb/cdns3/cdns3-imx.c | |
parent | 5c1e34b5159ec65bf33e2c1a62fa7158132c10cf (diff) |
drm/amdgpu/uvd6: fix allocation size in enc ring test (v2)
We need to allocate a large enough buffer for the
session info, otherwise the IB test can overwrite
other memory.
v2: - 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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions