diff options
| author | Christian König <[email protected]> | 2020-04-03 13:56:12 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-04-28 20:20:30 +0000 |
| commit | b717fa5cb1a1aae9ea744a3b61e9d9aa1d258c9c (patch) | |
| tree | ca0e95b2cabc7ca620e355f8b067dfc7180109ee /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | drm/amdgpu: add full TMZ support into amdgpu_ttm_map_buffer v2 (diff) | |
| download | kernel-b717fa5cb1a1aae9ea744a3b61e9d9aa1d258c9c.tar.gz kernel-b717fa5cb1a1aae9ea744a3b61e9d9aa1d258c9c.zip | |
drm/amdgpu: fix size calculation in amdgpu_ttm_copy_mem_to_mem
When the node is larger than 4GB we overrun the size calculation.
Fix this by correctly limiting the size to the window as well.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
