drm/amd/powerplay: enable SW SMU reset functionality
authorEvan Quan <evan.quan@amd.com>
Thu, 25 Jul 2019 02:12:42 +0000 (10:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 05:07:16 +0000 (00:07 -0500)
commitf0bc1ee473fefd4d9f2ace9fad1cefdc0b7f6fdd
tree4b70058ab7d236ef4d98cecb24ba03f9c3c9e06d
parent479156f2e5540077377a823eaf5a4263bd329063
drm/amd/powerplay: enable SW SMU reset functionality

Move SMU irq handler register to sw_init as that's totally
software related. Otherwise, it will prevent SMU reset working.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c