drm/amd/pm: disallow the fan setting if there is no fan on smu 13.0.0
authorKenneth Feng <kenneth.feng@amd.com>
Wed, 9 Aug 2023 10:06:05 +0000 (18:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Aug 2023 16:16:56 +0000 (12:16 -0400)
commitb6360a5ec31d160d58c1a64387b323b556cedca8
treee127f6177d7f86ca8b7aee966a1b9dbb69049ccf
parent2ccdd1b13c591d306f0401d98dedc4bdcd02b421
drm/amd/pm: disallow the fan setting if there is no fan on smu 13.0.0

drm/amd/pm: disallow the fan setting if there is no fan on smu 13.0.0
V2: depend on pm.no_fan to check

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c