]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/pm: Fix an error handling path in vega10_enable_se_edc_force_stall_config()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 19 Nov 2024 20:23:18 +0000 (21:23 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:26:47 +0000 (10:26 -0500)
commita3300782d5375e280ba7040f323d01960bfe3396
tree3211daa4576d9930f349acbdb8aaab8d156ac90b
parentfcb600b07894913a9e73d8c1a1ce86a36324e4a7
drm/amd/pm: Fix an error handling path in vega10_enable_se_edc_force_stall_config()

In case of error after a amdgpu_gfx_rlc_enter_safe_mode() call, it is not
balanced by a corresponding amdgpu_gfx_rlc_exit_safe_mode() call.

Add the missing call.

Fixes: 9b7b8154cdb8 ("drm/amd/powerplay: added didt support for vega10")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_powertune.c