drm/amd/pm: process pending AC/DC switch interrupt
authorEvan Quan <evan.quan@amd.com>
Fri, 4 Sep 2020 06:41:07 +0000 (14:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Sep 2020 21:48:25 +0000 (17:48 -0400)
commit71f9404f19af1da2a4cc583e2d6db448f25a5e1a
tree84f53d2a2e336d244393b51bdee160014beeaa63
parent911779e3fc282cbdcae96c70131e3fe89cd5c1bc
drm/amd/pm: process pending AC/DC switch interrupt

Process any pending interrupt that occured before driver register
for interrupt from GPIO/SMU.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c