[PATCH] drm/amdkfd: Use correct major in devcgroup check

2020-06-11 Thread Lorenz Brun
were permitted (if they matched the wrong major device number). Signed-off-by: Lorenz Brun Fixes: 6b855f7b83d2f ("drm/amdkfd: Check against device cgroup") --- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/am

TTM allocation failure under memory pressure on suspend

2019-05-29 Thread Lorenz Brun
Hi, I have a RX 570 which fails to suspend properly under memory pressure and stays black after waking up. It looks like an allocation failure in the TTM VRAM eviction is to blame: [635471.240411] kworker/u24:26: page allocation failure: order:0, mode:0x620402(GFP_NOIO|__GFP_HIGHMEM|__GFP_RETRY