mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-09 23:22:22 +00:00
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>
This commit is contained in:
parent
53b66c084f
commit
b27cf30995
2 changed files with 46 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue