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 04:23:37 +0000 (23:23 -0500)
commit4d7fd9e20b0784b07777728316da5bcc13f9f2ab
tree62da3358a6a7e8325b07a835417a8570e9e1a5f4
parentf0d2a7dc1154ed680a8422916ab6a38860800de4
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