summaryrefslogtreecommitdiff
path: root/include/hotplug.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-05 17:29:56 +0100
committerDave Airlie <airlied@redhat.com>2012-07-06 10:35:20 +0100
commitb27cf30995e05da11e827ec41060051673336a7b (patch)
treee0b0dc9ea4a4951077a0ae26dee3ceb559c1a21c /include/hotplug.h
parent53b66c084fbf5bf47f8121632fabdc39b9fe8337 (diff)
xserver/config: add udev/drm hotplug callbacks. (v2)
This adds callbacks into the ddx for udev gpu hotplug. v2: fix some strncmp returns. Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/hotplug.h')
-rw-r--r--include/hotplug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hotplug.h b/include/hotplug.h
index 50007624a..96b078d48 100644
--- a/include/hotplug.h
+++ b/include/hotplug.h
@@ -65,4 +65,8 @@ config_odev_free_attributes(struct OdevAttributes *attribs);
typedef void (*config_odev_probe_proc_ptr)(struct OdevAttributes *attribs);
void config_odev_probe(config_odev_probe_proc_ptr probe_callback);
+#ifdef CONFIG_UDEV_KMS
+void NewGPUDeviceRequest(struct OdevAttributes *attribs);
+void DeleteGPUDeviceRequest(struct OdevAttributes *attribs);
+#endif
#endif /* HOTPLUG_H */