diff options
Diffstat (limited to 'drivers/video/via/hw.c')
-rw-r--r-- | drivers/video/via/hw.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index 726fbd115979..1aa3bb2f1a4e 100644 --- a/drivers/video/via/hw.c +++ b/drivers/video/via/hw.c | |||
@@ -1911,9 +1911,6 @@ void viafb_update_device_setting(int hres, int vres, | |||
1911 | 1911 | ||
1912 | viaparinfo->tmds_setting_info->h_active = hres; | 1912 | viaparinfo->tmds_setting_info->h_active = hres; |
1913 | viaparinfo->tmds_setting_info->v_active = vres; | 1913 | viaparinfo->tmds_setting_info->v_active = vres; |
1914 | viaparinfo->tmds_setting_info->bpp = bpp; | ||
1915 | viaparinfo->tmds_setting_info->refresh_rate = | ||
1916 | vmode_refresh; | ||
1917 | 1914 | ||
1918 | viaparinfo->lvds_setting_info->h_active = hres; | 1915 | viaparinfo->lvds_setting_info->h_active = hres; |
1919 | viaparinfo->lvds_setting_info->v_active = vres; | 1916 | viaparinfo->lvds_setting_info->v_active = vres; |
@@ -1930,9 +1927,6 @@ void viafb_update_device_setting(int hres, int vres, | |||
1930 | if (viaparinfo->tmds_setting_info->iga_path == IGA2) { | 1927 | if (viaparinfo->tmds_setting_info->iga_path == IGA2) { |
1931 | viaparinfo->tmds_setting_info->h_active = hres; | 1928 | viaparinfo->tmds_setting_info->h_active = hres; |
1932 | viaparinfo->tmds_setting_info->v_active = vres; | 1929 | viaparinfo->tmds_setting_info->v_active = vres; |
1933 | viaparinfo->tmds_setting_info->bpp = bpp; | ||
1934 | viaparinfo->tmds_setting_info->refresh_rate = | ||
1935 | vmode_refresh; | ||
1936 | } | 1930 | } |
1937 | 1931 | ||
1938 | if (viaparinfo->lvds_setting_info->iga_path == IGA2) { | 1932 | if (viaparinfo->lvds_setting_info->iga_path == IGA2) { |
@@ -2031,9 +2025,8 @@ static void init_tmds_chip_info(void) | |||
2031 | 2025 | ||
2032 | DEBUG_MSG(KERN_INFO "TMDS Chip = %d\n", | 2026 | DEBUG_MSG(KERN_INFO "TMDS Chip = %d\n", |
2033 | viaparinfo->chip_info->tmds_chip_info.tmds_chip_name); | 2027 | viaparinfo->chip_info->tmds_chip_info.tmds_chip_name); |
2034 | viaparinfo->tmds_setting_info->get_dvi_size_method = | 2028 | viafb_init_dvi_size(&viaparinfo->shared->chip_info.tmds_chip_info, |
2035 | GET_DVI_SIZE_BY_VGA_BIOS; | 2029 | &viaparinfo->shared->tmds_setting_info); |
2036 | viafb_init_dvi_size(); | ||
2037 | } | 2030 | } |
2038 | 2031 | ||
2039 | static void init_lvds_chip_info(void) | 2032 | static void init_lvds_chip_info(void) |