]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: refine ghost BO resv criteria
authorChristian König <christian.koenig@amd.com>
Mon, 11 Nov 2019 12:44:40 +0000 (13:44 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 11 Feb 2020 13:28:43 +0000 (14:28 +0100)
commit11d4939800a32cbd111b03cce8b886bb0401801a
treea2a7ce696b9c716a27b20cb60e54efa8f512c7fd
parente10133e3ea00132438dfc23f2b2a1c4325da516b
drm/ttm: refine ghost BO resv criteria

Ghost BOs need to stick with the resv object only when the origin is imported.

This is a low hanging fruit to avoid OOM situations on evictions.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: xinhui pan <xinhui.pan@amd.com>
Link: https://patchwork.freedesktop.org/patch/352740/
drivers/gpu/drm/ttm/ttm_bo_util.c