]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: Enable MES lr_compute_wa by default
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 19 Sep 2025 00:48:00 +0000 (19:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Sep 2025 14:22:38 +0000 (10:22 -0400)
commit1fb710793ce2619223adffaf981b1ff13cd48f17
treea21a7ffbf7e874f9c83d4282bc3e19297274cf7c
parentc5b3cc417b0260abc74ed32f6baa626c9de917c0
drm/amdgpu: Enable MES lr_compute_wa by default

The MES set resources packet has an optional bit 'lr_compute_wa'
which can be used for preventing MES hangs on long compute jobs.

Set this bit by default.

Co-developed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
drivers/gpu/drm/amd/include/mes_v11_api_def.h
drivers/gpu/drm/amd/include/mes_v12_api_def.h