]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpu/drm/bochs/bochs.h
drm/bochs: use simple display pipe
[linux.git] / drivers / gpu / drm / bochs / bochs.h
index 03711394f1eda3315e1695b7dfa7e05e7b55effc..36f6ee725d132385d85136ca419004810f21c607 100644 (file)
@@ -7,6 +7,7 @@
 #include <drm/drm_crtc_helper.h>
 #include <drm/drm_encoder.h>
 #include <drm/drm_fb_helper.h>
+#include <drm/drm_simple_kms_helper.h>
 
 #include <drm/drm_gem.h>
 
@@ -69,11 +70,9 @@ struct bochs_device {
        struct edid *edid;
 
        /* drm */
-       struct drm_device  *dev;
-       struct drm_crtc crtc;
-       struct drm_encoder encoder;
+       struct drm_device *dev;
+       struct drm_simple_display_pipe pipe;
        struct drm_connector connector;
-       bool mode_config_initialized;
 
        /* ttm */
        struct {