summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_gem.c
diff options
context:
space:
mode:
authorRoger He <Hongbo.He@amd.com>2018-01-11 17:00:14 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-01-16 15:35:27 -0500
commit9483ce7c6ed5980fcc45643d391b17317b40406a (patch)
tree95c02547c4952b99089f47cf684140cdf6aafc31 /drivers/gpu/drm/drm_gem.c
parent83fbb788a49c11477d42ca323cf16c109d426d70 (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>
Diffstat (limited to 'drivers/gpu/drm/drm_gem.c')
0 files changed, 0 insertions, 0 deletions