summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tilcdc/tilcdc_drv.h
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2016-04-07 14:52:02 +0300
committerJyri Sarha <jsarha@ti.com>2016-08-08 23:05:00 +0300
commitb961c48b056c2562c7dbb0b2cfcdad486610550d (patch)
tree085495d68b72b83e510563d8143bdf66c1491d4e /drivers/gpu/drm/tilcdc/tilcdc_drv.h
parent0a1fe1b7c589a635a40d6d9b525dd99634581ea2 (diff)
downloadlinux-b961c48b056c2562c7dbb0b2cfcdad486610550d.tar.gz
linux-b961c48b056c2562c7dbb0b2cfcdad486610550d.tar.bz2
linux-b961c48b056c2562c7dbb0b2cfcdad486610550d.zip
drm/tilcdc: Add dummy primary plane implementation
Add dummy primary plane implementation. LCDC does not really have planes, only simple framebuffer that is mandatory. This primary plane implementation has the necessary checks for implementing simple framebuffer trough DRM plane abstraction. For setting the actual framebuffer the implementation relies on a CRTC side function. Signed-off-by: Jyri Sarha <jsarha@ti.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_drv.h')
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.h b/drivers/gpu/drm/tilcdc/tilcdc_drv.h
index cd78874cb34f..0619c3c88527 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_drv.h
+++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.h
@@ -179,4 +179,6 @@ int tilcdc_crtc_page_flip(struct drm_crtc *crtc,
struct drm_pending_vblank_event *event,
uint32_t page_flip_flags);
+int tilcdc_plane_init(struct drm_device *dev, struct drm_plane *plane);
+
#endif /* __TILCDC_DRV_H__ */