]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd: Don't init MEC2 firmware when it fails to load
authorDavid McFarland <corngood@gmail.com>
Mon, 29 Jan 2024 22:18:22 +0000 (18:18 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 08:25:02 +0000 (09:25 +0100)
commit38fd4dfa2764280e48c862e89623def321d0328d
tree48b7276837634185f4f03509e602d14ef47148b8
parent8983397951b4b0bd51bb4b4ba9749424e1ccbb70
drm/amd: Don't init MEC2 firmware when it fails to load

commit 8ef85a0ce24a6d9322dfa2a67477e473c3619b4f upstream.

The same calls are made directly above, but conditional on the firmware
loading and validating successfully.

Cc: stable@vger.kernel.org
Fixes: 9931b67690cf ("drm/amd: Load GFX10 microcode during early_init")
Signed-off-by: David McFarland <corngood@gmail.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c