Revert "drm/amdgpu: disable runpm if we are the primary adapter"
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 13:23:28 +0000 (09:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2022 20:50:00 +0000 (16:50 -0400)
commit5a90c24ad0283434f60ed2e1a628c9e6134d1fdc
treebe58edde45b354087535bc907df69992d91511c4
parent98bae89647603309ca2a5f172299ecc31c5d2db0
Revert "drm/amdgpu: disable runpm if we are the primary adapter"

This reverts commit b95dc06af3e683d6b7ddbbae178b2b2a21ee8b2b.

This workaround is no longer necessary.  We have a better workaround
in commit f95af4a9236695 ("drm/amdgpu: don't runtime suspend if there are displays attached (v3)").

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c