[PATCH 00/20] staging: xgifb: XG21 LVDS/LCD/BIOS cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Here's some cleanups and fixes for the LVDS/LCD support, which are mostly
relevant only on XG21.

The patches are based and tested on top of the current staging-next
(0c9d19646249e0124f1d82fb939e5ba76cb1af3c).

Testing:
	- compile-tested with GCC 4.6.2 + sparse 0.4.4-rc1
		- no warnings introduced
	- tested with Z9 (XG21) on an ARM board:
		- setup: external VGA + LVDS LCD
		- framebuffer console works
			- mirrored displays with forcecrt2=LCD
			- VGA-only with forcecrt2=NONE
	- tested with Z11 (XG27) on an ARM board:
		- setup: external VGA
		- framebuffer console works

Aaro Koskinen (20):
  staging: xgifb: ReadVBIOSTablData(): avoid duplicating code
  staging: xgifb: ReadVBIOSTablData(): rearrange code to avoid nesting
  staging: xgifb: ReadVBIOSTablData(): use ARRAY_SIZE
  staging: xgifb: ReadVBIOSTablData(): rename pVideoMemory
  staging: xgifb: ReadVBIOSTablData(): use a pointer to access the
    array
  staging: xgifb: XGINew_GetXG21Sense(): eliminate video BIOS access
  staging: xgifb: move video BIOS handling completely to
    ReadVBIOSTablData()
  staging: xgifb: delete ROMAddr
  staging: xgifb: delete pjVirtualRomBase
  staging: xgifb: use u8 for video BIOS data
  staging: xgifb: ReadVBIOSTablData(): check the BIOS size
  staging: xgifb: ReadVBIOSTablData(): copy only a single LVDS entry
  staging: xgifb: ReadVBIOSTablData(): rename to xgifb_read_vbios()
  staging: xgifb: delete XGIfb_GetXG21LVDSData()
  staging: xgifb: disable LVDS on XG27
  staging: xgifb: move XGI21_LVDSCapStruct into xgifb_video_info
  staging: xgifb: vb_table: delete XGI21_LCDCapList
  staging: xgifb: delete "userom" option
  staging: xgifb: enable forcecrt2type on XG21
  staging: xgifb: enable forcecrt2type as a module parameter

 drivers/staging/xgifb/XGI_main.h    |    1 -
 drivers/staging/xgifb/XGI_main_26.c |  158 +++++-------------------
 drivers/staging/xgifb/XGIfb.h       |    3 +
 drivers/staging/xgifb/vb_init.c     |  231 +++++++++++++++--------------------
 drivers/staging/xgifb/vb_setmode.c  |  154 ++++++++++-------------
 drivers/staging/xgifb/vb_setmode.h  |    6 +-
 drivers/staging/xgifb/vb_struct.h   |    2 -
 drivers/staging/xgifb/vb_table.h    |   27 ----
 drivers/staging/xgifb/vgatypes.h    |    2 -
 9 files changed, 206 insertions(+), 378 deletions(-)

-- 
1.7.2.5

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux