root/src/add-ons/accelerants/skeleton/GetTimingConstraints.c
/*
        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;
}