commit | 611736d8447c0c48a172db0b968dddae60696a72 | [log] [tgz] |
---|---|---|
author | Felix Kuehling <Felix.Kuehling@amd.com> | Mon Nov 19 20:05:54 2018 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Dec 07 18:13:15 2018 -0500 |
tree | 45e17c7fdbb3ea51fbd4d4fdbae3bf9545c360f4 | |
parent | 5634e38cda7ba47f9e0f372cf1e1729a845d3348 [diff] |
drm/amdgpu: Add KFD VRAM limit checking We don't want KFD processes evicting each other over VRAM usage. Therefore prevent overcommitting VRAM among KFD applications with a per-GPU limit. Also leave enough room for page tables on top of the application memory usage. Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>