File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
drivers/gpu/drm/amd/pm/swsmu Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1351,14 +1351,8 @@ static int smu_disable_dpms(struct smu_context *smu)
1351
1351
{
1352
1352
struct amdgpu_device * adev = smu -> adev ;
1353
1353
int ret = 0 ;
1354
- /*
1355
- * TODO: (adev->in_suspend && !adev->in_s0ix) is added to pair
1356
- * the workaround which always reset the asic in suspend.
1357
- * It's likely that workaround will be dropped in the future.
1358
- * Then the change here should be dropped together.
1359
- */
1360
1354
bool use_baco = !smu -> is_apu &&
1361
- ((( amdgpu_in_reset (adev ) || ( adev -> in_suspend && ! adev -> in_s0ix ) ) &&
1355
+ ((amdgpu_in_reset (adev ) &&
1362
1356
(amdgpu_asic_reset_method (adev ) == AMD_RESET_METHOD_BACO )) ||
1363
1357
((adev -> in_runpm || adev -> in_s4 ) && amdgpu_asic_supports_baco (adev )));
1364
1358
You can’t perform that action at this time.
0 commit comments