aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorYiPeng Chai <YiPeng.Chai@amd.com>2025-08-12 09:17:58 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-08-12 14:15:03 -0400
commitd38eaf27de1b8584f42d6fb3f717b7ec44b3a7a1 (patch)
tree73f734b7c7fe5d9357412844592228822f9ec00f /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amdkfd: return -ENOTTY for unsupported IOCTLs (diff)
downloadlinux-rng-d38eaf27de1b8584f42d6fb3f717b7ec44b3a7a1.tar.xz
linux-rng-d38eaf27de1b8584f42d6fb3f717b7ec44b3a7a1.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions