summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorEric Huang <jinhuieric.huang@amd.com>2022-11-14 11:43:48 -0500
committerAlex Deucher <alexander.deucher@amd.com>2022-11-15 13:24:32 -0500
commit6f9eea4392a178af19360694b1db64f985d0b459 (patch)
treeff73fd7a30ba796c00a234394edb163f35a729e7 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent192039f12233c9063d040266e7c98188c7c89dec (diff)
downloadlinux-6f9eea4392a178af19360694b1db64f985d0b459.tar.bz2
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_device.c')
0 files changed, 0 insertions, 0 deletions