diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-04-26 04:10:33 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-04-26 04:10:33 -0400 |
commit | e01255d698ad00a6f4c6b3e0bf061e27ab238969 (patch) | |
tree | 75906dcac642bf1e50d3cc9b90ab5b86a27d9307 /drivers/video/via | |
parent | 9d5f96f61837b1242dd8c576c6110593475fcf86 (diff) |
viafb: remove unused CEA mode
This trivial patch removes unused mode tables.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via')
-rw-r--r-- | drivers/video/via/share.h | 8 | ||||
-rw-r--r-- | drivers/video/via/viamode.c | 17 | ||||
-rw-r--r-- | drivers/video/via/viamode.h | 9 |
3 files changed, 0 insertions, 34 deletions
diff --git a/drivers/video/via/share.h b/drivers/video/via/share.h index 8b93e2f6fea2..61b0bd596b85 100644 --- a/drivers/video/via/share.h +++ b/drivers/video/via/share.h | |||
@@ -568,10 +568,6 @@ | |||
568 | #define M1280X720_R50_HSP NEGATIVE | 568 | #define M1280X720_R50_HSP NEGATIVE |
569 | #define M1280X720_R50_VSP POSITIVE | 569 | #define M1280X720_R50_VSP POSITIVE |
570 | 570 | ||
571 | /* 1280x720@60 Sync Polarity (CEA Mode) */ | ||
572 | #define M1280X720_CEA_R60_HSP POSITIVE | ||
573 | #define M1280X720_CEA_R60_VSP POSITIVE | ||
574 | |||
575 | /* 1440x900@60 Sync Polarity (CVT Mode) */ | 571 | /* 1440x900@60 Sync Polarity (CVT Mode) */ |
576 | #define M1440X900_R60_HSP NEGATIVE | 572 | #define M1440X900_R60_HSP NEGATIVE |
577 | #define M1440X900_R60_VSP POSITIVE | 573 | #define M1440X900_R60_VSP POSITIVE |
@@ -612,10 +608,6 @@ | |||
612 | #define M1920X1200_RB_R60_HSP POSITIVE | 608 | #define M1920X1200_RB_R60_HSP POSITIVE |
613 | #define M1920X1200_RB_R60_VSP NEGATIVE | 609 | #define M1920X1200_RB_R60_VSP NEGATIVE |
614 | 610 | ||
615 | /* 1920x1080@60 Sync Polarity (CEA Mode) */ | ||
616 | #define M1920X1080_CEA_R60_HSP POSITIVE | ||
617 | #define M1920X1080_CEA_R60_VSP POSITIVE | ||
618 | |||
619 | /* 2048x1536@60 Sync Polarity (CVT Mode) */ | 611 | /* 2048x1536@60 Sync Polarity (CVT Mode) */ |
620 | #define M2048x1536_R60_HSP NEGATIVE | 612 | #define M2048x1536_R60_HSP NEGATIVE |
621 | #define M2048x1536_R60_VSP POSITIVE | 613 | #define M2048x1536_R60_VSP POSITIVE |
diff --git a/drivers/video/via/viamode.c b/drivers/video/via/viamode.c index 50de07f27a6c..58df74e1417e 100644 --- a/drivers/video/via/viamode.c +++ b/drivers/video/via/viamode.c | |||
@@ -854,23 +854,6 @@ static struct VideoModeTable viafb_rb_modes[] = { | |||
854 | {CRTM1920x1200_RB, ARRAY_SIZE(CRTM1920x1200_RB)} | 854 | {CRTM1920x1200_RB, ARRAY_SIZE(CRTM1920x1200_RB)} |
855 | }; | 855 | }; |
856 | 856 | ||
857 | struct crt_mode_table CEAM1280x720[] = { | ||
858 | {REFRESH_60, M1280X720_CEA_R60_HSP, M1280X720_CEA_R60_VSP, | ||
859 | /* HT, HA, HBS, HBE, HSS, HSE, VT, VA, VBS, VBE, VSS, VSE */ | ||
860 | {1650, 1280, 1280, 370, 1390, 40, 750, 720, 720, 30, 725, 5} } | ||
861 | }; | ||
862 | struct crt_mode_table CEAM1920x1080[] = { | ||
863 | {REFRESH_60, M1920X1080_CEA_R60_HSP, M1920X1080_CEA_R60_VSP, | ||
864 | /* HT, HA, HBS, HBE, HSS, HSE, VT, VA, VBS, VBE, VSS, VSE */ | ||
865 | {2200, 1920, 1920, 300, 2008, 44, 1125, 1080, 1080, 45, 1084, 5} } | ||
866 | }; | ||
867 | struct VideoModeTable CEA_HDMI_Modes[] = { | ||
868 | /* Display : 1280x720 */ | ||
869 | {CEAM1280x720, ARRAY_SIZE(CEAM1280x720)}, | ||
870 | {CEAM1920x1080, ARRAY_SIZE(CEAM1920x1080)} | ||
871 | }; | ||
872 | |||
873 | int NUM_TOTAL_CEA_MODES = ARRAY_SIZE(CEA_HDMI_Modes); | ||
874 | int NUM_TOTAL_CN400_ModeXregs = ARRAY_SIZE(CN400_ModeXregs); | 857 | int NUM_TOTAL_CN400_ModeXregs = ARRAY_SIZE(CN400_ModeXregs); |
875 | int NUM_TOTAL_CN700_ModeXregs = ARRAY_SIZE(CN700_ModeXregs); | 858 | int NUM_TOTAL_CN700_ModeXregs = ARRAY_SIZE(CN700_ModeXregs); |
876 | int NUM_TOTAL_KM400_ModeXregs = ARRAY_SIZE(KM400_ModeXregs); | 859 | int NUM_TOTAL_KM400_ModeXregs = ARRAY_SIZE(KM400_ModeXregs); |
diff --git a/drivers/video/via/viamode.h b/drivers/video/via/viamode.h index 8a67ea1b5ef0..3751289eb450 100644 --- a/drivers/video/via/viamode.h +++ b/drivers/video/via/viamode.h | |||
@@ -41,7 +41,6 @@ struct patch_table { | |||
41 | struct io_reg *io_reg_table; | 41 | struct io_reg *io_reg_table; |
42 | }; | 42 | }; |
43 | 43 | ||
44 | extern int NUM_TOTAL_CEA_MODES; | ||
45 | extern int NUM_TOTAL_CN400_ModeXregs; | 44 | extern int NUM_TOTAL_CN400_ModeXregs; |
46 | extern int NUM_TOTAL_CN700_ModeXregs; | 45 | extern int NUM_TOTAL_CN700_ModeXregs; |
47 | extern int NUM_TOTAL_KM400_ModeXregs; | 46 | extern int NUM_TOTAL_KM400_ModeXregs; |
@@ -50,14 +49,6 @@ extern int NUM_TOTAL_VX855_ModeXregs; | |||
50 | extern int NUM_TOTAL_CLE266_ModeXregs; | 49 | extern int NUM_TOTAL_CLE266_ModeXregs; |
51 | extern int NUM_TOTAL_PATCH_MODE; | 50 | extern int NUM_TOTAL_PATCH_MODE; |
52 | 51 | ||
53 | /********************/ | ||
54 | /* Mode Table */ | ||
55 | /********************/ | ||
56 | |||
57 | extern struct crt_mode_table CEAM1280x720[]; | ||
58 | extern struct crt_mode_table CEAM1920x1080[]; | ||
59 | extern struct VideoModeTable CEA_HDMI_Modes[]; | ||
60 | |||
61 | extern struct io_reg CN400_ModeXregs[]; | 52 | extern struct io_reg CN400_ModeXregs[]; |
62 | extern struct io_reg CN700_ModeXregs[]; | 53 | extern struct io_reg CN700_ModeXregs[]; |
63 | extern struct io_reg KM400_ModeXregs[]; | 54 | extern struct io_reg KM400_ModeXregs[]; |