diff --git a/src/add-ons/accelerants/via/GetTimingConstraints.c b/src/add-ons/accelerants/via/GetTimingConstraints.c new file mode 100644 index 0000000000..2b00bbbf87 --- /dev/null +++ b/src/add-ons/accelerants/via/GetTimingConstraints.c @@ -0,0 +1,33 @@ +/* + Author: + Rudolf Cornelissen 7/2004 +*/ + +#define MODULE_BIT 0x01000000 + +#include "acc_std.h" + +/* Used to help generate mode lines */ +status_t GET_TIMING_CONSTRAINTS(display_timing_constraints * dtc) +{ + LOG(4, ("GET_TIMING_CONSTRAINTS: returning info\n")); + + /* specs are identical for all nVidia cards */ + dtc->h_res = 8; + dtc->h_sync_min = 8; + dtc->h_sync_max = 248; + /* Note: + * h_blank info is used to determine the max. diff. between h_total and h_display! */ + dtc->h_blank_min = 8; + dtc->h_blank_max = 1016; + + dtc->v_res = 1; + dtc->v_sync_min = 1; + dtc->v_sync_max = 15; + /* Note: + * v_blank info is used to determine the max. diff. between v_total and v_display! */ + dtc->v_blank_min = 1; + dtc->v_blank_max = 255; + + return B_OK; +}