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 19:18:03 +0000 (14:18 -0500)
commit6ec956f5f57e81523a787eede9d82357465d639e
treee8bd85f8544bf17484bec1e49644bcc87dcf8652
parent7b6cbae2b15b13378995aa8ec049083713d4fbcc
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