diff options
author | Dave Airlie <airlied@redhat.com> | 2015-02-24 02:23:56 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-03-19 19:26:45 +0300 |
commit | de6284aa0162e6814e4d5f17a0177e0e5aee1ce5 (patch) | |
tree | 3b11da52f793919a0b207af40db14228c62a427d /drivers/gpu/drm/radeon/radeon_irq_kms.c | |
parent | 87f5942d1f7bc320a0ec70ac4a8a3396024c7091 (diff) | |
download | linux-de6284aa0162e6814e4d5f17a0177e0e5aee1ce5.tar.xz |
radeon: introduce a dp_work handler
This is to be called on short HPD irqs, just introduce
the basic infrastructure for it.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_irq_kms.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_irq_kms.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_irq_kms.c b/drivers/gpu/drm/radeon/radeon_irq_kms.c index 00fc59762e0d..e82ae819fc10 100644 --- a/drivers/gpu/drm/radeon/radeon_irq_kms.c +++ b/drivers/gpu/drm/radeon/radeon_irq_kms.c @@ -87,6 +87,9 @@ static void radeon_hotplug_work_func(struct work_struct *work) drm_helper_hpd_irq_event(dev); } +static void radeon_dp_work_func(struct work_struct *work) +{ +} /** * radeon_driver_irq_preinstall_kms - drm irq preinstall callback * @@ -276,6 +279,7 @@ int radeon_irq_kms_init(struct radeon_device *rdev) } INIT_WORK(&rdev->hotplug_work, radeon_hotplug_work_func); + INIT_WORK(&rdev->dp_work, radeon_dp_work_func); INIT_WORK(&rdev->audio_work, r600_audio_update_hdmi); rdev->irq.installed = true; |