@@ -730,4 +730,7 @@ extern void intel_atomic_fini(struct drm_device *dev);
extern void intel_atomic_free_events(struct drm_device *dev, struct drm_file *file);
extern void intel_atomic_handle_vblank(struct drm_device *dev, int pipe);
+extern void intel_enable_primary(struct drm_crtc *crtc);
+extern void intel_disable_primary(struct drm_crtc *crtc);
+
#endif /* __INTEL_DRV_H__ */
@@ -610,7 +610,7 @@ void intel_calc_sprite(struct drm_plane *plane,
ilk_calc_plane(plane, fb, coords);
}
-static void
+void
intel_enable_primary(struct drm_crtc *crtc)
{
struct drm_device *dev = crtc->dev;
@@ -629,7 +629,7 @@ intel_enable_primary(struct drm_crtc *crtc)
dev_priv->display.commit_plane(crtc);
}
-static void
+void
intel_disable_primary(struct drm_crtc *crtc)
{
struct drm_device *dev = crtc->dev;