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>
Tue, 15 Aug 2023 21:43:33 +0000 (17:43 -0400)
commita57c6c365d0e1bcd0713a3442a28c8c4a502cb02
treedd973a86427ef8ed36373343d9c3f7bebac2af7d
parenta34cab44094b77667584663df541300a4a033211
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>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c