Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325081
b: refs/heads/master
c: 898df16
h: refs/heads/master
i:
  325079: 283ddfc
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Sep 10, 2012
1 parent d970f0e commit ca46f7e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 34 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 378fd8a582d85b18d66c79a251b17a53a627cf95
refs/heads/master: 898df164012eb8419940fde6040280328e1a5d1d
10 changes: 0 additions & 10 deletions trunk/drivers/staging/xgifb/vb_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,6 @@
#define ActiveHiTV 0x08
#define ActiveYPbPr 0x10

/* --------------------------------------------------------- */
/* translated from asm code 301def.h */
/* */
/* --------------------------------------------------------- */
#define LVDSCRT1Len_H 8
#define LVDSCRT1Len_V 7
#define LCDDesDataLen 6
#define LVDSDesDataLen2 8
#define LCDDesDataLen2 8

#define NTSC1024x768HT 1908

#define YPbPrTV525iHT 1716 /* YPbPr */
Expand Down
11 changes: 1 addition & 10 deletions trunk/drivers/staging/xgifb/vb_setmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ static void *XGI_GetLcdPtr(unsigned short BX, unsigned short ModeNo,
unsigned short RefreshRateTableIndex,
struct vb_device_info *pVBInfo)
{
unsigned short i, tempdx, tempcx, tempbx, tempal, modeflag, table;
unsigned short i, tempdx, tempbx, tempal, modeflag, table;

struct XGI330_LCDDataTablStruct *tempdi = NULL;

Expand All @@ -1362,15 +1362,6 @@ static void *XGI_GetLcdPtr(unsigned short BX, unsigned short ModeNo,
tempal = (tempal & 0x0f);
}

tempcx = LCDLenList[tempbx];

if (pVBInfo->LCDInfo & EnableScalingLCD) { /* ScaleLCD */
if (tempbx == 5)
tempcx = LCDDesDataLen2;
else if (tempbx == 3)
tempcx = LVDSDesDataLen2;
}

switch (tempbx) {
case 0:
case 1:
Expand Down
13 changes: 0 additions & 13 deletions trunk/drivers/staging/xgifb/vb_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -1876,19 +1876,6 @@ static const struct XGI330_TVDataTablStruct XGI_TVDataTable[] = {
{0xffff, 0x0000, XGI_ExtNTSCData},
};

static unsigned short LCDLenList[] = {
LVDSCRT1Len_H,
LVDSCRT1Len_V,
LVDSDataLen,
LCDDesDataLen,
LCDDataLen,
LCDDesDataLen,
0,
LCDDesDataLen,
LCDDesDataLen,
0
};

/* Dual link only */
static struct XGI330_LCDCapStruct XGI_LCDDLCapList[] = {
/* LCDCap1024x768 */
Expand Down

0 comments on commit ca46f7e

Please sign in to comment.