summaryrefslogtreecommitdiff
path: root/linux/drmP.h
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-07-31 15:45:00 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-07-31 15:45:00 +0000
commit5e7e41819eb4d4b18201bbb46d0c6e359c4039cd (patch)
treec43aed0c568554569354715a6c2d1e98b7350233 /linux/drmP.h
parentbd71ba642890856aff339482a9422ecea1ef55d1 (diff)
Add a hotplug event to DRM. Parameters match the ones from the general PCI
hotplug event plus the addition of one requesting RESET. Put your scripts in /etc/hotplug.d/drm to run. kernel class_simple generates the ADD/REMOVE events. No cards currently request RESET, the flag is there to stop you from resetting your boot display.
Diffstat (limited to 'linux/drmP.h')
-rw-r--r--linux/drmP.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/linux/drmP.h b/linux/drmP.h
index 23c6854c..dfa56d90 100644
--- a/linux/drmP.h
+++ b/linux/drmP.h
@@ -696,11 +696,13 @@ typedef struct drm_device {
struct pci_controller *hose;
#endif
#endif
- drm_sg_mem_t *sg; /**< Scatter gather memory */
+ drm_sg_mem_t *sg; /**< Scatter gather memory */
unsigned long *ctx_bitmap; /**< context bitmap */
- void *dev_private; /**< device private data */
- drm_sigdata_t sigdata; /**< For block_all_signals */
+ void *dev_private; /**< device private data */
+ drm_sigdata_t sigdata; /**< For block_all_signals */
sigset_t sigmask;
+
+ int need_reset; /**< secondary device needing reset */
} drm_device_t;