linux/drivers/gpu/drm/ttm
Xiangliang.Yu 410ef183b8 drm/ttm: Fix accounting error when fail to get pages for pool
commit 9afae27192 upstream.

When fail to get needed page for pool, need to put allocated pages
into pool. But current code has a miscalculation of allocated pages,
correct it.

Signed-off-by: Xiangliang.Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-09-09 17:39:24 +02:00
..
Makefile drm/ttm: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:16 +02:00
ttm_agp_backend.c drm/ttm: Remove TTM_HAS_AGP 2016-03-30 17:20:43 +02:00
ttm_bo.c drm/ttm: Fix use-after-free in ttm_bo_clean_mm 2017-07-03 16:25:43 -04:00
ttm_bo_manager.c drm: Improve drm_mm search (and fix topdown allocation) with rbtrees 2017-02-03 11:10:32 +01:00
ttm_bo_util.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
ttm_bo_vm.c drm/ttm: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:16 +02:00
ttm_execbuf_util.c locking/atomic, kref: Kill kref_sub() 2017-01-14 11:37:19 +01:00
ttm_lock.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
ttm_memory.c drm/ttm: Add interface to export kernel_zone max memory size in ttm 2016-08-08 11:33:08 -04:00
ttm_module.c drm/ttm: make device_released static 2014-07-22 12:59:32 +10:00
ttm_object.c drm/ttm: Avoid calling drm_ht_remove from atomic context 2017-03-30 11:43:40 +02:00
ttm_page_alloc.c drm/ttm: Fix accounting error when fail to get pages for pool 2017-09-09 17:39:24 +02:00
ttm_page_alloc_dma.c drm: use set_memory.h header 2017-05-08 17:15:14 -07:00
ttm_tt.c drm: drop drm_[cm]alloc* helpers 2017-05-18 17:22:39 +02:00