[Public]
-----Original Message----- From: Greg KH gregkh@linuxfoundation.org Sent: Tuesday, August 27, 2024 10:21 AM To: Deucher, Alexander Alexander.Deucher@amd.com Cc: stable@vger.kernel.org; sashal@kernel.org; Xiao, Jack Jack.Xiao@amd.com Subject: Re: [PATCH] drm/amdgpu/mes: fix mes ring buffer overflow
On Tue, Aug 27, 2024 at 10:10:25AM -0400, Alex Deucher wrote:
From: Jack Xiao Jack.Xiao@amd.com
wait memory room until enough before writing mes packets to avoid ring buffer overflow.
v2: squash in sched_hw_submission fix
Backport from 6.11.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3571 Fixes: de3246254156 ("drm/amdgpu: cleanup MES11 command
submission")
Fixes: fffe347e1478 ("drm/amdgpu: cleanup MES12 command submission")
These commits are in 6.11-rc1.
de3246254156 ("drm/amdgpu: cleanup MES11 command submission") was ported to 6.10 as well: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/driv... So this fix is applicable there.
Alex
Signed-off-by: Jack Xiao Jack.Xiao@amd.com Acked-by: Alex Deucher alexander.deucher@amd.com Signed-off-by: Alex Deucher alexander.deucher@amd.com (cherry picked from commit 34e087e8920e635c62e2ed6a758b0cd27f836d13) Cc: stable@vger.kernel.org # 6.10.x
So why does this need to go to 6.10.y?
confused,
greg k-h