1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved. 4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 5 6 */ 7 #include "global.h" 8 int viafb_platform_epia_dvi = STATE_OFF; 9 int viafb_device_lcd_dualedge = STATE_OFF; 10 int viafb_bus_width = 12; 11 int viafb_display_hardware_layout = HW_LAYOUT_LCD_DVI; 12 int viafb_DeviceStatus = CRT_Device; 13 int viafb_hotplug; 14 int viafb_refresh = 60; 15 int viafb_refresh1 = 60; 16 int viafb_lcd_dsp_method = LCD_EXPANDSION; 17 int viafb_lcd_mode = LCD_OPENLDI; 18 int viafb_CRT_ON = 1; 19 int viafb_DVI_ON; 20 int viafb_LCD_ON ; 21 int viafb_LCD2_ON; 22 int viafb_SAMM_ON; 23 int viafb_dual_fb; 24 unsigned int viafb_second_xres = 640; 25 unsigned int viafb_second_yres = 480; 26 int viafb_hotplug_Xres = 640; 27 int viafb_hotplug_Yres = 480; 28 int viafb_hotplug_bpp = 32; 29 int viafb_hotplug_refresh = 60; 30 int viafb_primary_dev = None_Device; 31 int viafb_lcd_panel_id = LCD_PANEL_ID_MAXIMUM + 1; 32 struct fb_info *viafbinfo; 33 struct fb_info *viafbinfo1; 34 struct viafb_par *viaparinfo; 35 struct viafb_par *viaparinfo1; 36 37