xref: /haiku/src/add-ons/accelerants/nvidia/GetTimingConstraints.c (revision 01b25646004ff628ecad0281a9795e5e90f71746)
1 /*
2 	Authors:
3 	Mark Watson - 21/6/00,
4 	Apsed
5 */
6 
7 #define MODULE_BIT 0x01000000
8 
9 #include "acc_std.h"
10 
11 /* Used to help generate mode lines */
12 status_t GET_TIMING_CONSTRAINTS(display_timing_constraints * dtc)
13 {
14 	// apsed, TODO, is that following card capabilities ??
15 	LOG(4, ("GET_TIMING_CONSTRAINTS\n"));
16 
17 	dtc->h_res=8;
18 	dtc->h_sync_min=8;
19 	dtc->h_sync_max=248;
20 	dtc->h_blank_min=8;
21 	dtc->h_blank_max=504;
22 
23 	dtc->v_res=1;
24 	dtc->v_sync_min=1;
25 	dtc->v_sync_max=15;
26 	dtc->v_blank_min=1;
27 	dtc->v_blank_max=255;
28 
29 	return B_OK;
30 }
31