diff options
author | Eric Huang <jinhuieric.huang@amd.com> | 2022-11-14 11:43:48 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-11-15 13:35:16 -0500 |
commit | 48fb1ecf9371b649202c85ba6d44f5204e88bfc8 (patch) | |
tree | 435663d835bb1e210a4f333c1f4b3f0ff4323e66 /drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | |
parent | f42c01696ec6c22b06f5dacd31ab98174231e970 (diff) |
drm/amdkfd: Fix a memory limit issue
It is to resolve a regression, which fails to allocate
VRAM due to no free memory in application, the reason
is we add check of vram_pin_size for memory limit, and
application is pinning the memory for Peerdirect, KFD
should not count it in memory limit. So removing
vram_pin_size will resolve it.
Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c')
0 files changed, 0 insertions, 0 deletions