[PATCH 00/26] staging: xgifb: vb_table.h cleanups

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

 



Hi,

Some cleanups mainly for vb_table.h data/structures. This should make
all global constant data "const". There should be no functional changes.
This should result in a smaller run-time memory footprint and less
code lines.

Sanity check done on real HW with XG21/Z9 (VGA monitor + LVDS panel)
and XG27/Z11 (VGA monitor) on ARM boards. Basic framebuffer functionality
works.

Aaro Koskinen (26):
  staging: xgifb: XGI_GetLcdPtr: add separate table for
    VB_SIS301LV/VB_SIS302LV
  staging: xgifb: XGI_GetLcdPtr: replace xgifb_epllcd_crt1
  staging: xgifb: XGI_GetLcdPtr: use real pointers for data tables
  staging: xgifb: XGI_GetLcdPtr: delete redundant code
  staging: xgifb: XGI_GetLcdPtr: pass the table pointer directly
  staging: xgifb: constify LCD data
  staging: xgifb: vb_init.h: delete redundant declaration
  staging: xgifb: refactor XGI_GetLVDSData()
  staging: xgifb: eliminate global TimingV/TimingH data
  staging: xgifb: eliminate pVBInfo->StandTable
  staging: xgifb: eliminate pVBInfo->EModeIDTable
  staging: xgifb: eliminate pVBInfo->RefIndex
  staging: xgifb: eliminate pVBInfo->XGINEWUB_CRT1Table
  staging: xgifb: eliminate pVBInfo->UpdateCRT1
  staging: xgifb: eliminate pVBInfo->CR6E/6F/89
  staging: xgifb: eliminate pVBInfo->ECLKData
  staging: xgifb: eliminate pVBInfo->VCLKData/VBVCLKData
  staging: xgifb: eliminate pVBInfo->ScreenOffset
  staging: xgifb: eliminate pVBInfo->ModeResInfo
  staging: xgifb: eliminate pVBInfo->StResInfo
  staging: xgifb: eliminate pVBInfo->SR21/22/25
  staging: xgifb: eliminate pVBInfo->CR6B
  staging: xgifb: eliminate pVBInfo->SR16
  staging: xgifb: eliminate pVBInfo->AGPReg
  staging: xgifb: constify Tap4 data
  staging: xgifb: make remaining data tables const

 drivers/staging/xgifb/XGI_main_26.c |   54 +-
 drivers/staging/xgifb/vb_def.h      |    9 +-
 drivers/staging/xgifb/vb_init.c     |   47 +-
 drivers/staging/xgifb/vb_init.h     |    1 -
 drivers/staging/xgifb/vb_setmode.c  |  894 ++++++++++-------------------------
 drivers/staging/xgifb/vb_struct.h   |   36 +--
 drivers/staging/xgifb/vb_table.h    |  504 ++++++++++----------
 7 files changed, 566 insertions(+), 979 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