diff options
| author | xinhui pan <[email protected]> | 2021-04-07 11:29:39 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-04-08 04:36:40 +0000 |
| commit | 1b0b6e939f112949089e32ec89fd27796677263a (patch) | |
| tree | 5d5f2d50f79cfdb5a026d5d8ba41f7aba934f092 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amd/display: Add missing mask for DCN3 (diff) | |
| download | kernel-1b0b6e939f112949089e32ec89fd27796677263a.tar.gz kernel-1b0b6e939f112949089e32ec89fd27796677263a.zip | |
drm/amdgpu: Fix size overflow
ttm->num_pages is uint32. Hit overflow when << PAGE_SHIFT directly
Fixes: 230c079fdcf4 ("drm/ttm: make num_pages uint32_t")
Signed-off-by: xinhui pan <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
