Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd: Don't always set IP block HW status to false

amdgpu_device_ip_suspend_phase2() calls amdgpu_ip_block_suspend()
which already sets HW block status to false when succeeding with
IP suspend. Remove the explicit call in
amdgpu_device_ip_suspend_phase2() so that the status is accurate.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Mario Limonciello and committed by
Alex Deucher
b7ff2e79 f35f2541

-1
-1
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
··· 3864 3864 3865 3865 /* XXX handle errors */ 3866 3866 r = amdgpu_ip_block_suspend(&adev->ip_blocks[i]); 3867 - adev->ip_blocks[i].status.hw = false; 3868 3867 3869 3868 /* handle putting the SMC in the appropriate state */ 3870 3869 if (!amdgpu_sriov_vf(adev)) {