From 9034af644dcd6c4d48554633c826f804cc762df4 Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Sun, 10 Jul 2005 17:48:45 +0000 Subject: [PATCH] added via accelerant, a copy of skeleton driver yet. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13592 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/accelerants/via/valid_mode_list | 34 +++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/add-ons/accelerants/via/valid_mode_list diff --git a/src/add-ons/accelerants/via/valid_mode_list b/src/add-ons/accelerants/via/valid_mode_list new file mode 100644 index 0000000000..4c0f04023f --- /dev/null +++ b/src/add-ons/accelerants/via/valid_mode_list @@ -0,0 +1,34 @@ +/*This file can be used to define custom timing for your monitor + * The format of each line is: + * { + * pixel clock frequency (kHz) + * width + * h-sync pulse start + * h-sync pulse end + * total pixels in line + * height + * v-sync pulse start + * v-sync pulse end + * total lines in frame + * sync polarity (0 is -ve,B_POSITIVE_HYSNC,B_POSITIVE_VSYNC) + * } + * + *To use this you must: + * Uncomment VALID MODE REQUIRED + * Fill in a number of modes that work with your display + * Change VALID MODES from three to the no. you defined + * run these commands: + * touch ProposeDisplayMode.c + * make install + */ + +//#define VALID_MODE_REQUIRED 1 + +#define VALID_MODES 3 + +/*note colour depth and mode flags are ignored*/ +static const display_timing valid_mode_list[] = { +{31500,640,648,744,840,480,481,500,500,0}, +{49500,800,808,888,1056,600,601,620,625,B_POSITIVE_HSYNC|B_POSITIVE_VSYNC}, +{78750,1024,1032,1128,1312,768,769,788,800,B_POSITIVE_HSYNC|B_POSITIVE_VSYNC} +};