xserver/hw/xorg/drivers/fbdev Imakefile, NONE, 1.1 Makefile.am, NONE, 1.1 fbdev.c, NONE, 1.1 fbdev.man, NONE, 1.1

Daniel Stone xserver-commit at pdx.freedesktop.org
Tue May 4 01:44:02 EST 2004


Committed by: daniel

Update of /cvs/xserver/xserver/hw/xorg/drivers/fbdev
In directory pdx:/tmp/cvs-serv16821/drivers/fbdev

Added Files:
	Imakefile Makefile.am fbdev.c fbdev.man 
Log Message:
Adding the original drivers/fbdev and input/mouse directories.

* drivers/fbdev/fbdev.c:
Disable shadowfb support for the time being - the miext APIs are different.


--- NEW FILE: Imakefile ---
XCOMM
XCOMM This is an Imakefile for the fbdev driver.  
XCOMM
XCOMM $XFree86: xc/programs/Xserver/hw/xfree86/drivers/fbdev/Imakefile,v 1.9 2001/01/24 00:06:17 dawes Exp $

#define IHaveModules
#include <Server.tmpl>

SRCS = fbdev.c
OBJS = fbdev.o

#if defined(XF86DriverSDK)
INCLUDES = -I. -I../../include
#else
INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86OSSRC) \
           -I$(SERVERSRC)/mfb -I$(SERVERSRC)/mi \
           -I$(SERVERSRC)/afb \
           -I$(SERVERSRC)/fb -I$(XF86SRC)/xaa \
           -I$(XF86SRC)/fbdevhw -I$(XF86SRC)/ramdac \
           -I$(XF86SRC)/ddc -I$(XF86SRC)/i2c \
           -I$(XF86SRC)/rac \
           -I$(SERVERSRC)/Xext -I$(XF86SRC)/xf24_32bpp\
           -I$(FONTINCSRC) -I$(SERVERSRC)/include -I$(XINCLUDESRC) \
	   -I$(SERVERSRC)/miext/shadow -I$(EXTINCSRC) -I$(SERVERSRC)/render
#endif

DEFINES = FbdevDefines

#if MakeHasPosixVariableSubstitutions
SubdirLibraryRule($(OBJS))
#endif

ModuleObjectRule()

ObjectModuleTarget(fbdev,$(OBJS))

InstallObjectModule(fbdev,$(MODULEDIR),drivers)

#if !defined(XF86DriverSDK)
InstallModuleManPage(fbdev)
#endif

DependTarget()

InstallDriverSDKNonExecFile(Imakefile,$(DRIVERSDKDIR)/drivers/fbdev)
InstallDriverSDKNonExecFile(fbdev.c,$(DRIVERSDKDIR)/drivers/fbdev)

InstallDriverSDKObjectModule(fbdev,$(DRIVERSDKMODULEDIR),drivers)

--- NEW FILE: Makefile.am ---
AM_CFLAGS = $(XORG_CFLAGS)

INCLUDES = $(XORG_INCS) \
	   -I$(top_srcdir)/mi \
	   -I$(top_srcdir)/fb \
	   -I$(top_srcdir)/hw/xorg/fbdevhw \
           -I$(top_srcdir)/hw/xorg/loader \
	   -I$(top_srcdir)/hw/xorg/ddc \
           -I$(top_srcdir)/hw/xorg/rac \
	   -I$(top_srcdir)/hw/xorg/vbe \
	   -I$(top_srcdir)/hw/xorg/int10 \
           -I$(top_srcdir)/hw/xorg/i2c \
	   -I$(top_srcdir)/hw/xorg/parser \
	   -I$(top_srcdir)/hw/xorg/shadowfb \
	   -I$(top_srcdir)/hw/xorg/vgahw \
           -I$(top_srcdir)/hw/xorg/Xi \
	   -I$(top_srcdir)/hw/xorg/xaa \
	   -I$(top_srcdir)/hw/xorg/ramdac \
	   -I$(top_srcdir)/os

lib_LIBRARIES = libfbdev.a

libfbdev_a_SOURCES = fbdev.c

--- NEW FILE: fbdev.c ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: fbdev.man ---
.\" $XFree86: xc/programs/Xserver/hw/xfree86/drivers/fbdev/fbdev.man,v 1.2 2001/01/27 18:20:47 dawes Exp $ 
.\" shorthand for double quote that works everywhere.
.ds q \N'34'
.TH FBDEV __drivermansuffix__ __vendorversion__
.SH NAME
fbdev \- video driver for framebuffer device
.SH SYNOPSIS
.nf
.B "Section \*qDevice\*q"
.BI "  Identifier \*q"  devname \*q
.B  "  Driver \*qfbdev\*q"
.BI "  BusID  \*qpci:" bus : dev : func \*q
\ \ ...
.B EndSection
.fi
.SH DESCRIPTION
.B fbdev
is an __xservername__ driver for framebuffer devices.  This is a non-accelerated
driver, the following framebuffer depths are supported: 8, 15, 16, 24.
All visual types are supported for depth 8, and TrueColor visual is
supported for the other depths.  Multi-head configurations are supported.
.SH SUPPORTED HARDWARE
The 
.B fbdev
driver supports all hardware where a framebuffer driver is available.
fbdev uses the os-specific submodule fbdevhw(__drivermansuffix__) to talk
to the kernel
device driver.  Currently a fbdevhw module is available for linux.
.SH CONFIGURATION DETAILS
Please refer to __xconfigfile__(__filemansuffix__) for general configuration
details.  This section only covers configuration details specific to
this driver.
.PP
For this driver it is not required to specify modes in the screen 
section of the config file.  The
.B fbdev
driver can pick up the currently used video mode from the framebuffer 
driver and will use it if there are no video modes configured.
.PP
For PCI boards you might have to add a BusID line to the Device
section.  See above for a sample line.  You can use \*q\__xservername__
-scanpci\*q
to figure out the correct values.
.PP
The following driver 
.B Options
are supported:
.TP
.BI "Option \*qfbdev\*q \*q" string \*q
The framebuffer device to use. Default: /dev/fb0.
.TP
.BI "Option \*qShadowFB\*q \*q" boolean \*q
Enable or disable use of the shadow framebuffer layer.  Default: on.
.TP
.BI "Option \*qRotate\*q \*q" string \*q
Enable rotation of the display. The supported values are "CW" (clockwise,
90 degrees), "UD" (upside down, 180 degrees) and "CCW" (counter clockwise,
270 degrees). Implies use of the shadow framebuffer layer.   Default: off.
.SH "SEE ALSO"
__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), xorgconfig(__appmansuffix__), Xserver(__appmansuffix__),
X(__miscmansuffix__), fbdevhw(__drivermansuffix__)
.SH AUTHORS
Authors include: Gerd Knorr, Michel Dänzer, Geert Uytterhoeven




More information about the xserver-commit mailing list