drm/amdgpu/mes: fix issue of writing to the same log buffer from 2 MES pipes
authorMichael Chen <michael.chen@amd.com>
Tue, 8 Oct 2024 19:29:50 +0000 (15:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2024 15:48:36 +0000 (11:48 -0400)
commit7760d7f93c764625fedca176891238675fd06d62
tree39094968f8808c1301fc45dcc9a567b775fbf289
parentc0ec082f10b7a1fd25e8c1e2a686440da913b7a3
drm/amdgpu/mes: fix issue of writing to the same log buffer from 2 MES pipes

With Unified MES enabled in gfx12, need separate event log buffer for the
2 MES pipes to avoid data overwrite.

Signed-off-by: Michael Chen <michael.chen@amd.com>
Reviewed-by: Jack Xiao <Jack.Xiao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 144df260f3daab42c4611021f929b3342de516e5)
Cc: stable@vger.kernel.org # 6.11.x
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c