diff options
Diffstat (limited to 'src/i2c_vid.h')
-rw-r--r-- | src/i2c_vid.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/i2c_vid.h b/src/i2c_vid.h new file mode 100644 index 0000000..87ebe7a --- /dev/null +++ b/src/i2c_vid.h @@ -0,0 +1,16 @@ +/* this needs to go in the server */ +#ifndef I2C_VID_H +#define I2C_VID_H + +typedef struct _NVI2CVidOutputRec { + void *(*init)(I2CBusPtr b, I2CSlaveAddr addr); + xf86OutputStatus (*detect)(I2CDevPtr d); + ModeStatus (*mode_valid)(I2CDevPtr d, DisplayModePtr mode); + void (*mode_set)(I2CDevPtr d, DisplayModePtr mode); + void (*dpms)(I2CDevPtr d, int mode); + void (*dump_regs)(I2CDevPtr d); + void (*save)(I2CDevPtr d); + void (*restore)(I2CDevPtr d); +} NVI2CVidOutputRec, *NVI2CVidOutputPtr; + +#endif |