Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81dee67e authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman
Browse files

staging: sm750fb: add sm750 to staging



sm750 of Silicon Motion is pci-e display controller device and has
features like dual display and 2D acceleration. This patch adds the
driver to staging.

Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c3d6047d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -58,6 +58,8 @@ source "drivers/staging/iio/Kconfig"

source "drivers/staging/sm7xxfb/Kconfig"

source "drivers/staging/sm750fb/Kconfig"

source "drivers/staging/xgifb/Kconfig"

source "drivers/staging/emxx_udc/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ obj-$(CONFIG_VT6656) += vt6656/
obj-$(CONFIG_VME_BUS)		+= vme/
obj-$(CONFIG_IIO)		+= iio/
obj-$(CONFIG_FB_SM7XX)		+= sm7xxfb/
obj-$(CONFIG_FB_SM7XX)		+= sm750fb/
obj-$(CONFIG_FB_XGI)		+= xgifb/
obj-$(CONFIG_USB_EMXX)		+= emxx_udc/
obj-$(CONFIG_FT1000)		+= ft1000/
+10 −0
Original line number Diff line number Diff line
config FB_SM750
	tristate "Silicon Motion SM750 framebuffer support"
	depends on FB && PCI
	help
	  Frame buffer driver for the Silicon Motion SM750 chip
	  with 2D accelearion and dual head support.

	  This driver is also available as a module. The module will be
	  called sm750fb. If you want to compile it as a module, say M
	  here and read <file:Documentation/kbuild/modules.txt>.
+4 −0
Original line number Diff line number Diff line
obj-$(CONFIG_FB_SM750)	+= sm750fb.o

sm750fb-objs		:= sm750.o sm750_hw.o sm750_accel.o sm750_cursor.o ddk750_chip.o ddk750_power.o ddk750_mode.o
sm750fb-objs		+= ddk750_display.o ddk750_help.o ddk750_swi2c.o ddk750_sii164.o ddk750_dvi.o ddk750_hwi2c.o
+15 −0
Original line number Diff line number Diff line
TODO:
- lots of clechpatch cleanup
- use kernel coding style
- refine the code and remove unused code
- check on hardware effects of removal of USE_HW_I2C and USE_DVICHIP (these two
	are supposed to be sample code which is given here if someone wants to
	use those functionalities)
- move it to drivers/video/fbdev
- modify the code for drm framework

Please send any patches to
	Greg Kroah-Hartman <greg@kroah.com>
	Sudip Mukherjee <sudipm.mukherjee@gmail.com>
	Teddy Wang <teddy.wang@siliconmotion.com>
	Sudip Mukherjee <sudip@vectorindia.org>
Loading