]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu/gfx10: Disable gfxoff before disabling powergating.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 9 May 2023 16:49:46 +0000 (18:49 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 May 2023 13:53:49 +0000 (09:53 -0400)
commit8173cab3368a13cdc3cad0bd5cf14e9399b0f501
treebc4fbe2231594b5dff62523cd378f4ef4d72c880
parentd5aa417808cf14c052ca042920b3c6b9f1dc6aa4
drm/amdgpu/gfx10: Disable gfxoff before disabling powergating.

Otherwise we get a full system lock (looks like a FW mess).

Copied the order from the GFX9 powergating code.

Fixes: 366468ff6c34 ("drm/amdgpu: Allow GfxOff on Vangogh as default")
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2545
Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c