drm/amd/pm/si: Don't schedule thermal work when queue isn't initialized
authorTimur Kristóf <timur.kristof@gmail.com>
Sun, 12 Jul 2026 17:39:26 +0000 (19:39 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jul 2026 13:15:42 +0000 (09:15 -0400)
commitbd018d36171a695952c6d391471c279c9e05c8b2
tree406d980942343f19ad49a8bab76fd3d9cf946dc6
parent8e75e90d3a402cd7c7d3506d9e5407a8bc92481e
drm/amd/pm/si: Don't schedule thermal work when queue isn't initialized

When DPM is turned off with the amdgpu.dpm=0 module parameter,
the thermal work queue isn't initialized so we shouldn't
schedule any work on it.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c