Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 11:33:24 +0000 (UTC)
From:      Aleksandr Rybalko <ray@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r256140 - user/ed/newcons/sys/dev/drm2
Message-ID:  <201310081133.r98BXOLq065383@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ray
Date: Tue Oct  8 11:33:24 2013
New Revision: 256140
URL: http://svnweb.freebsd.org/changeset/base/256140

Log:
  Add fb_info structure definition. Drivers should fill it to give access to
  framebuffer.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  user/ed/newcons/sys/dev/drm2/drm_fb_helper.h

Modified: user/ed/newcons/sys/dev/drm2/drm_fb_helper.h
==============================================================================
--- user/ed/newcons/sys/dev/drm2/drm_fb_helper.h	Tue Oct  8 11:28:59 2013	(r256139)
+++ user/ed/newcons/sys/dev/drm2/drm_fb_helper.h	Tue Oct  8 11:33:24 2013	(r256140)
@@ -79,6 +79,19 @@ struct drm_fb_helper_connector {
 	struct drm_connector *connector;
 };
 
+/* TODO: move it out as separate FrameBuffer interface. */
+struct fb_info {
+	vm_offset_t	fb_vbase;
+	vm_paddr_t	fb_pbase;
+	size_t		fb_size;
+	/* TODO fb_read method. */
+	/* TODO fb_write method. */
+	/* TODO fb_bitblt method. */
+	/* TODO fb_blank method. */
+	/* TODO H/W cursor methods. */
+	/* TODO H/W mouse cursor methods. */
+};
+
 struct drm_fb_helper {
 	struct drm_framebuffer *fb;
 	struct drm_framebuffer *saved_fb;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310081133.r98BXOLq065383>