aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/XGI_main.h
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2011-03-08 22:16:06 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-03-09 16:02:51 -0800
commitdaa484ec96349f2cad6f547517741c74395215ed (patch)
treee6ba669075b5b095138bd7fc30e989fe6020b881 /drivers/staging/xgifb/XGI_main.h
parentdf0d5e6055b0230763da7a8975db1a7886442d93 (diff)
downloadkernel_samsung_smdk4412-daa484ec96349f2cad6f547517741c74395215ed.zip
kernel_samsung_smdk4412-daa484ec96349f2cad6f547517741c74395215ed.tar.gz
kernel_samsung_smdk4412-daa484ec96349f2cad6f547517741c74395215ed.tar.bz2
staging: xgifb: delete HW cursor memory allocation
HW cursor area is not used in any way. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb/XGI_main.h')
-rw-r--r--drivers/staging/xgifb/XGI_main.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/xgifb/XGI_main.h b/drivers/staging/xgifb/XGI_main.h
index 37f77ee..88d15c8 100644
--- a/drivers/staging/xgifb/XGI_main.h
+++ b/drivers/staging/xgifb/XGI_main.h
@@ -66,7 +66,6 @@ MODULE_DEVICE_TABLE(pci, xgifb_pci_table);
#define MAX_ROM_SCAN 0x10000
-#define HW_CURSOR_CAP 0x80
#define TURBO_QUEUE_CAP 0x40
#define AGP_CMD_QUEUE_CAP 0x20
#define VM_CMD_QUEUE_CAP 0x10
@@ -80,10 +79,6 @@ MODULE_DEVICE_TABLE(pci, xgifb_pci_table);
#define COMMAND_QUEUE_THRESHOLD 0x1F
-/* TW */
-#define HW_CURSOR_AREA_SIZE_315 0x4000 /* 16K */
-#define HW_CURSOR_AREA_SIZE_300 0x1000 /* 4K */
-
#define OH_ALLOC_SIZE 4000
#define SENTINEL 0x7fffffff
@@ -350,7 +345,6 @@ static int enable_dstn = 0;
static int XGIfb_ypan = -1;
-static int XGIfb_hwcursor_size = 0;
static int XGIfb_CRT2_write_enable = 0;
static int XGIfb_crt2type = -1; /* TW: CRT2 type (for overriding autodetection) */
@@ -613,8 +607,6 @@ typedef struct _XGI_HEAP {
unsigned long max_freesize;
} XGI_HEAP;
-static unsigned long XGIfb_hwcursor_vbase;
-
static unsigned long XGIfb_heap_start;
static unsigned long XGIfb_heap_end;
static unsigned long XGIfb_heap_size;