Commit ef85f16c authored by YiPeng Chai's avatar YiPeng Chai Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu: fix vram reservation issue



[ Upstream commit 10ef476a ]

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: c9cad937 ("drm/amdgpu: add drm buddy support to amdgpu")
Signed-off-by: default avatarYiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit d38eaf27)
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a6b5b5ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment