drm/amdgpu: only flush hotplug work without DC
authorMonk Liu <Monk.Liu@amd.com>
Fri, 19 Jan 2018 11:02:16 +0000 (19:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Feb 2018 20:15:39 +0000 (15:15 -0500)
commit9f51943c2a434d40f46776369b7a72e0ffb6ea59
treee982b43841855f20f32ce1765e3639feec3fa58f
parentd6b6669762898dfc99e9273b8d8603bc47014aa9
drm/amdgpu: only flush hotplug work without DC

since hotplug_work is initialized under the case of
no dc support

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c