ddc: s/xf86DDCMonitorSet/xf86EdidMonitorSet/
Since we need a second path for DisplayID.
This commit is contained in:
parent
d0cb4f5a91
commit
2f1a9c5baa
|
@ -114,7 +114,10 @@ xf86SetDDCproperties(ScrnInfoPtr pScrn, xf86MonPtr DDC)
|
||||||
if (!pScrn || !pScrn->monitor || !DDC)
|
if (!pScrn || !pScrn->monitor || !DDC)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
xf86DDCMonitorSet(pScrn->scrnIndex, pScrn->monitor, DDC);
|
if (DDC->flags & MONITOR_DISPLAYID)
|
||||||
|
;
|
||||||
|
else
|
||||||
|
xf86EdidMonitorSet(pScrn->scrnIndex, pScrn->monitor, DDC);
|
||||||
|
|
||||||
addRootWindowProperties(pScrn, DDC);
|
addRootWindowProperties(pScrn, DDC);
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ extern _X_EXPORT xf86MonPtr xf86InterpretEEDID(
|
||||||
);
|
);
|
||||||
|
|
||||||
extern _X_EXPORT void
|
extern _X_EXPORT void
|
||||||
xf86DDCMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC);
|
xf86EdidMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC);
|
||||||
|
|
||||||
extern _X_EXPORT Bool xf86SetDDCproperties(
|
extern _X_EXPORT Bool xf86SetDDCproperties(
|
||||||
ScrnInfoPtr pScreen,
|
ScrnInfoPtr pScreen,
|
||||||
|
|
|
@ -943,7 +943,7 @@ xf86DDCGetModes(int scrnIndex, xf86MonPtr DDC)
|
||||||
* Fill out MonPtr with xf86MonPtr information.
|
* Fill out MonPtr with xf86MonPtr information.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
xf86DDCMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC)
|
xf86EdidMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC)
|
||||||
{
|
{
|
||||||
DisplayModePtr Modes = NULL, Mode;
|
DisplayModePtr Modes = NULL, Mode;
|
||||||
int i, clock;
|
int i, clock;
|
||||||
|
|
Loading…
Reference in New Issue