diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2019-10-15 18:08:59 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-17 16:30:55 -0400 |
commit | b24c459f9f2c531ae04ebbd906365b182262a53b (patch) | |
tree | 924a930783830d2b10b4cd689deaf82b35e9a8a5 /drivers/mfd/max8997.c | |
parent | 481bf82c97a49409ed79689edd3c3eaddc799866 (diff) | |
download | linux-b24c459f9f2c531ae04ebbd906365b182262a53b.tar.bz2 |
drm/amdgpu/uvd7: 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>
Diffstat (limited to 'drivers/mfd/max8997.c')
0 files changed, 0 insertions, 0 deletions