drm/amd/pm: bug fix for the runtime pm BACO
authorKenneth Feng <kenneth.feng@amd.com>
Fri, 6 Aug 2021 02:28:04 +0000 (10:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Aug 2021 14:39:33 +0000 (10:39 -0400)
commit3042f80c6cb9340354dc56ecb06473be57adc432
tree48fda7dc9a0f639c77a0d59b1cad0f71db5dbf46
parent7cbe08a930a132d84b4cf79953b00b074ec7a2a7
drm/amd/pm: bug fix for the runtime pm BACO

In some systems only MACO is supported. This is to fix the problem
that runtime pm is enabled but BACO is not supported. MACO will be
handled seperately.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Jack Gui <Jack.Gui@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c