mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Dave Airlie](/assets/img/avatar_default.png)
This adds an initial framework to plug USB graphics devices into the drm/kms subsystem. I've started writing a displaylink driver using this interface. Signed-off-by: Dave Airlie <airlied@redhat.com>
15 lines
375 B
C
15 lines
375 B
C
#ifndef DRM_USB_H
|
|
#define DRM_USB_H
|
|
|
|
#include <drmP.h>
|
|
|
|
#include <linux/usb.h>
|
|
|
|
extern int drm_usb_init(struct drm_driver *driver, struct usb_driver *udriver);
|
|
extern void drm_usb_exit(struct drm_driver *driver, struct usb_driver *udriver);
|
|
|
|
int drm_get_usb_dev(struct usb_interface *interface,
|
|
const struct usb_device_id *id,
|
|
struct drm_driver *driver);
|
|
|
|
#endif
|