commit | 9483ce7c6ed5980fcc45643d391b17317b40406a | [log] [tgz] |
---|---|---|
author | Roger He <Hongbo.He@amd.com> | Thu Jan 11 17:00:14 2018 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Jan 16 15:35:27 2018 -0500 |
tree | 95c02547c4952b99089f47cf684140cdf6aafc31 | |
parent | 83fbb788a49c11477d42ca323cf16c109d426d70 [diff] |
drm/ttm: only free pages rather than update global memory count together if ttm_get_pages or ttm_mem_global_alloc_page fail, should not update global memory count. Signed-off-by: Roger He <Hongbo.He@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Tested-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Acked-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>