1 #ifndef __NV50_OUTPUT_H__
2 #define __NV50_OUTPUT_H__
4 #include "nv50_display.h"
6 typedef struct NV50OutputPrivRec {
10 DisplayModePtr nativeMode;
11 enum NV50ScaleMode scale;
13 xf86OutputPtr partner;
16 xf86OutputStatus cached_status;
18 void (*set_pclk)(xf86OutputPtr, int pclk);
19 } NV50OutputPrivRec, *NV50OutputPrivPtr;
21 void NV50OutputSetPClk(xf86OutputPtr, int pclk);
22 int NV50OutputModeValid(xf86OutputPtr, DisplayModePtr);
23 void NV50OutputPrepare(xf86OutputPtr);
24 void NV50OutputCommit(xf86OutputPtr);
25 void NV50OutputPartnersDetect(xf86OutputPtr dac, xf86OutputPtr sor, I2CBusPtr i2c);
26 void NV50OutputResetCachedStatus(ScrnInfoPtr);
27 DisplayModePtr NV50OutputGetDDCModes(xf86OutputPtr);
28 void NV50OutputDestroy(xf86OutputPtr);
29 Bool NV50CreateOutputs(ScrnInfoPtr);
32 xf86OutputPtr NV50CreateDac(ScrnInfoPtr, ORNum);
33 Bool NV50DacLoadDetect(xf86OutputPtr);
36 xf86OutputPtr NV50CreateSor(ScrnInfoPtr, ORNum, PanelType);