]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: Enable GFXOFF for Compute on GFX11
authorOri Messinger <Ori.Messinger@amd.com>
Wed, 22 Nov 2023 05:12:13 +0000 (00:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jan 2024 21:45:19 +0000 (16:45 -0500)
commitaa0901a9008eeb2710292aff94e615adf7884d5f
tree4b435cd575be6576931e3b5195e1eef92a3efca5
parentb2139c96dc954b58b81bc670fc4ea5f034ed062c
drm/amdgpu: Enable GFXOFF for Compute on GFX11

On GFX version 11, GFXOFF was disabled due to a MES KIQ firmware
issue, which has since been fixed after version 64.
This patch only re-enables GFXOFF for GFX version 11 if the GPU's
MES KIQ firmware version is newer than version 64.

V2: Keep GFXOFF disabled on GFX11 if MES KIQ is below version 64.
V3: Add parentheses to avoid GCC warning for parentheses:
"suggest parentheses around comparison in operand of ‘&’"
V4: Remove "V3" from commit title
V5: Change commit description and insert 'Acked-by'

Signed-off-by: Ori Messinger <Ori.Messinger@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c