summaryrefslogtreecommitdiff
path: root/src/g80_output.h
blob: 819df15cc2bf2e806c27d3b9c345237836e5515f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
typedef struct G80OutputPrivRec {
    ORType type;
    ORNum or;

    xf86OutputPtr partner;
    I2CBusPtr i2c;

    void (*set_pclk)(xf86OutputPtr, int pclk);
} G80OutputPrivRec, *G80OutputPrivPtr;

void G80OutputSetPClk(xf86OutputPtr, int pclk);
int G80OutputModeValid(xf86OutputPtr, DisplayModePtr);
Bool G80OutputModeFixup(xf86OutputPtr, DisplayModePtr mode, DisplayModePtr adjusted_mode);
void G80OutputPrepare(xf86OutputPtr);
void G80OutputCommit(xf86OutputPtr);
DisplayModePtr G80OutputGetDDCModes(xf86OutputPtr);
void G80OutputDestroy(xf86OutputPtr);
Bool G80CreateOutputs(ScrnInfoPtr);

/* g80_dac.c */
xf86OutputPtr G80CreateDac(ScrnInfoPtr, ORNum);

/* g80_sor.c */
xf86OutputPtr G80CreateSor(ScrnInfoPtr, ORNum);