Merge branch 'randr-1.2' into nv50-branch
[nouveau] / src / i2c_vid.h
1 /* this needs to go in the server */
2 #ifndef I2C_VID_H
3 #define I2C_VID_H
4
5 typedef struct _NVI2CVidOutputRec {
6     void *(*init)(I2CBusPtr b, I2CSlaveAddr addr);
7     xf86OutputStatus (*detect)(I2CDevPtr d);
8     ModeStatus (*mode_valid)(I2CDevPtr d, DisplayModePtr mode);
9     void (*mode_set)(I2CDevPtr d, DisplayModePtr mode);
10     void (*dpms)(I2CDevPtr d, int mode);
11     void (*dump_regs)(I2CDevPtr d);
12     void (*save)(I2CDevPtr d);
13     void (*restore)(I2CDevPtr d);
14 } NVI2CVidOutputRec, *NVI2CVidOutputPtr;
15
16 #endif