diff options
| author | Alex Deucher <[email protected]> | 2019-10-15 18:08:59 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-10-17 17:12:34 -0400 |
| commit | 5d230bc91f6c15e5d281f2851502918d98b9e770 (patch) | |
| tree | 1946df023daf39ad03d1a6bd19c3449f6eefe117 /drivers/fpga/fpga-mgr.c | |
| parent | ce584a8e2885c7b59dfacba42db39761243cacb2 (diff) | |
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 <[email protected]>
Reviewed-by: James Zhu <[email protected]>
Tested-by: James Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions