OSDN Git Service

drm/ttm: switch back to static allocation limits for now
authorChristian König <christian.koenig@amd.com>
Wed, 24 Mar 2021 12:50:56 +0000 (13:50 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 29 Mar 2021 09:05:36 +0000 (11:05 +0200)
commit680dcede2762668e7fd9a8d4280453b7f260b680
tree2aa08d4a0d913578d43f6dbb0e949f5a28765440
parente55f2ffc4dc1052bd1ad4c0d3a51e6f1459c0659
drm/ttm: switch back to static allocation limits for now

The shrinker based approach still has some flaws. Especially that we need
temporary pages to free up the pages allocated to the driver is problematic
in a shrinker.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210324134845.2338-1-christian.koenig@amd.com
drivers/gpu/drm/ttm/ttm_device.c
drivers/gpu/drm/ttm/ttm_tt.c
include/drm/ttm/ttm_tt.h