]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/sun4i/sun4i_crtc.h
Merge branch 'kvm-ppc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus...
[karo-tx-linux.git] / drivers / gpu / drm / sun4i / sun4i_crtc.h
index dec8ce4d9b25b79c7c3de4272a924d5464031e1f..230cb8f0d60166087e33dce3893bec541baf5954 100644 (file)
@@ -17,7 +17,9 @@ struct sun4i_crtc {
        struct drm_crtc                 crtc;
        struct drm_pending_vblank_event *event;
 
-       struct sun4i_drv                *drv;
+       struct sun4i_backend            *backend;
+       struct sun4i_tcon               *tcon;
+       struct sun4i_layer              **layers;
 };
 
 static inline struct sun4i_crtc *drm_crtc_to_sun4i_crtc(struct drm_crtc *crtc)
@@ -25,6 +27,8 @@ static inline struct sun4i_crtc *drm_crtc_to_sun4i_crtc(struct drm_crtc *crtc)
        return container_of(crtc, struct sun4i_crtc, crtc);
 }
 
-struct sun4i_crtc *sun4i_crtc_init(struct drm_device *drm);
+struct sun4i_crtc *sun4i_crtc_init(struct drm_device *drm,
+                                  struct sun4i_backend *backend,
+                                  struct sun4i_tcon *tcon);
 
 #endif /* _SUN4I_CRTC_H_ */