2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/amd
Pierre-Eric Pelloux-Prayer d3c7059b6a drm/amdgpu: init return value in amdgpu_ttm_clear_buffer
Otherwise an uninitialized value can be returned if
amdgpu_res_cleared returns true for all regions.

Possibly closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3812

Fixes: a68c7eaa7a ("drm/amdgpu: Enable clear page functionality")
Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 7c62aacc3b)
Cc: stable@vger.kernel.org
2025-02-25 12:29:12 -05:00
..
acp drivers/gpu: Fix misalignment in comment block 2024-05-29 14:48:30 -04:00
amdgpu drm/amdgpu: init return value in amdgpu_ttm_clear_buffer 2025-02-25 12:29:12 -05:00
amdkfd drm/amdkfd: Preserve cp_hqd_pq_control on update_mqd 2025-02-25 12:19:25 -05:00
amdxcp drm/amd/amdxcp: Fix warnings 2024-05-08 15:17:05 -04:00
display drm/amd/display: Fix HPD after gpu reset 2025-02-25 12:28:39 -05:00
include drm/amd/display: fix SUBVP DC_DEBUG_MASK documentation 2025-01-24 09:53:59 -05:00
pm amdgpu/pm/legacy: fix suspend/resume issues 2025-02-25 12:17:38 -05:00