diff options
author | Dave Airlie <airlied@gmail.com> | 2010-12-14 22:13:55 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-02-07 04:09:42 +0100 |
commit | a250b9fdc53a286d32e22f21170382a46b3a3ef5 (patch) | |
tree | 46bca176ce307f951d3e154b7a41ddd43fdee0ac /include/drm/drmP.h | |
parent | drm: rework PCI/platform driver interface. (diff) | |
download | linux-a250b9fdc53a286d32e22f21170382a46b3a3ef5.tar.xz linux-a250b9fdc53a286d32e22f21170382a46b3a3ef5.zip |
drm: add usb framework
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>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index a99aefb9537c..52a2fd2f7789 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -925,6 +925,7 @@ struct drm_driver { union { struct pci_driver *pci; struct platform_device *platform_device; + struct usb_driver *usb; } kdriver; struct drm_bus *bus; @@ -1130,6 +1131,7 @@ struct drm_device { #endif struct platform_device *platformdev; /**< Platform device struture */ + struct usb_device *usbdev; struct drm_sg_mem *sg; /**< Scatter gather memory */ int num_crtcs; /**< Number of CRTCs on this device */ |