]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/drm/drm_crtc.h
mtd: remove junk tabs in nand.h
[mv-sheeva.git] / include / drm / drm_crtc.h
index 692cc55eeab69b1522fa5b72abe6c0cc5107061b..3e5a51af757c76ba07f514d00265a5e7300b6627 100644 (file)
@@ -31,7 +31,6 @@
 #include <linux/idr.h>
 
 #include <linux/fb.h>
-#include <linux/slow-work.h>
 
 struct drm_device;
 struct drm_mode_set;
@@ -387,7 +386,15 @@ struct drm_connector_funcs {
        void (*dpms)(struct drm_connector *connector, int mode);
        void (*save)(struct drm_connector *connector);
        void (*restore)(struct drm_connector *connector);
-       enum drm_connector_status (*detect)(struct drm_connector *connector);
+
+       /* Check to see if anything is attached to the connector.
+        * @force is set to false whilst polling, true when checking the
+        * connector due to user request. @force can be used by the driver
+        * to avoid expensive, destructive operations during automated
+        * probing.
+        */
+       enum drm_connector_status (*detect)(struct drm_connector *connector,
+                                           bool force);
        int (*fill_modes)(struct drm_connector *connector, uint32_t max_width, uint32_t max_height);
        int (*set_property)(struct drm_connector *connector, struct drm_property *property,
                             uint64_t val);
@@ -562,7 +569,7 @@ struct drm_mode_config {
 
        /* output poll support */
        bool poll_enabled;
-       struct delayed_slow_work output_poll_slow_work;
+       struct delayed_work output_poll_work;
 
        /* pointers to standard properties */
        struct list_head property_blob_list;