]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
drm/vmwgfx: Implement basic pm operations.
[net-next-2.6.git] / drivers / gpu / drm / vmwgfx / vmwgfx_drv.h
index 4c9d6b2b9958585689edbaae667a8b6dd6e5c1ef..7532b9b47eecb80b2857edaa94fc31e0d410c954 100644 (file)
@@ -32,6 +32,7 @@
 #include "drmP.h"
 #include "vmwgfx_drm.h"
 #include "drm_hashtab.h"
+#include "linux/suspend.h"
 #include "ttm/ttm_bo_driver.h"
 #include "ttm/ttm_object.h"
 #include "ttm/ttm_lock.h"
@@ -258,6 +259,7 @@ struct vmw_private {
 
        struct vmw_master *active_master;
        struct vmw_master fbdev_master;
+       struct notifier_block pm_nb;
 };
 
 static inline struct vmw_private *vmw_priv(struct drm_device *dev)