]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: fix vram reservation issue
authorYiPeng Chai <YiPeng.Chai@amd.com>
Tue, 12 Aug 2025 01:17:58 +0000 (09:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Aug 2025 18:15:03 +0000 (14:15 -0400)
commitd38eaf27de1b8584f42d6fb3f717b7ec44b3a7a1
tree73f734b7c7fe5d9357412844592228822f9ec00f
parent57af162bfc8c05332a28c4d458d246cc46d2746d
drm/amdgpu: fix vram reservation issue

The vram block allocation flag must be cleared
before making vram reservation, otherwise reserving
addresses within the currently freed memory range
will always fail.

Fixes: c9cad937c0c5 ("drm/amdgpu: add drm buddy support to amdgpu")
Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c