diff options
author | Monk Liu <Monk.Liu@amd.com> | 2017-12-01 18:21:34 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-12 14:46:25 -0500 |
commit | 0aaa59f5256eb2d23f487c3e2c870c7bc0d043de (patch) | |
tree | 3f2be4592849fdf45eb1242ccac2ad42bddceff4 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 3de676d8e71c0a4094b3e5005a311c36c6b6ffc6 (diff) |
drm/ttm: fix incorrect calculate on shrink_pages
shrink_pages is in unit of Order after ttm_page_pool_free,
but it is used by nr_free in next round so need change
it into native page unit
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Roger He <Hongbo.He@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions