]> Gentwo Git Trees - linux/.git/commit
drm/amdkfd: fix vram allocation failure for a special case
authorEric Huang <jinhuieric.huang@amd.com>
Mon, 18 Aug 2025 18:22:53 +0000 (14:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Aug 2025 17:57:48 +0000 (13:57 -0400)
commit93aa919ca05bec544b17ee9a1bfe394ce6c94bd8
tree0f8e407fc519fc5393469e4ad5f7bbe94cb5a44a
parent7bbfa1b1fa7b91cb805563ebffd1d55df192df05
drm/amdkfd: fix vram allocation failure for a special case

When it only allocates vram without va, which is 0, and a
SVM range allocated stays in this range, the vram allocation
returns failure. It should be skipped for this case from
SVM usage check.

Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c