File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
drivers/gpu/drm/amd/pm/swsmu Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1264,7 +1264,11 @@ static int smu_sw_init(void *handle)
1264
1264
smu -> workload_prority [PP_SMC_POWER_PROFILE_VR ] = 4 ;
1265
1265
smu -> workload_prority [PP_SMC_POWER_PROFILE_COMPUTE ] = 5 ;
1266
1266
smu -> workload_prority [PP_SMC_POWER_PROFILE_CUSTOM ] = 6 ;
1267
- smu -> workload_mask = 1 << smu -> workload_prority [PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT ];
1267
+
1268
+ if (smu -> is_apu )
1269
+ smu -> workload_mask = 1 << smu -> workload_prority [PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT ];
1270
+ else
1271
+ smu -> workload_mask = 1 << smu -> workload_prority [PP_SMC_POWER_PROFILE_FULLSCREEN3D ];
1268
1272
1269
1273
smu -> workload_setting [0 ] = PP_SMC_POWER_PROFILE_BOOTUP_DEFAULT ;
1270
1274
smu -> workload_setting [1 ] = PP_SMC_POWER_PROFILE_FULLSCREEN3D ;
You can’t perform that action at this time.
0 commit comments