mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
ddc: s/xf86DDCMonitorSet/xf86EdidMonitorSet/
Since we need a second path for DisplayID.
This commit is contained in:
@@ -114,7 +114,10 @@ xf86SetDDCproperties(ScrnInfoPtr pScrn, xf86MonPtr DDC)
|
||||
if (!pScrn || !pScrn->monitor || !DDC)
|
||||
return FALSE;
|
||||
|
||||
xf86DDCMonitorSet(pScrn->scrnIndex, pScrn->monitor, DDC);
|
||||
if (DDC->flags & MONITOR_DISPLAYID)
|
||||
;
|
||||
else
|
||||
xf86EdidMonitorSet(pScrn->scrnIndex, pScrn->monitor, DDC);
|
||||
|
||||
addRootWindowProperties(pScrn, DDC);
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ extern _X_EXPORT xf86MonPtr xf86InterpretEEDID(
|
||||
);
|
||||
|
||||
extern _X_EXPORT void
|
||||
xf86DDCMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC);
|
||||
xf86EdidMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC);
|
||||
|
||||
extern _X_EXPORT Bool xf86SetDDCproperties(
|
||||
ScrnInfoPtr pScreen,
|
||||
|
||||
@@ -943,7 +943,7 @@ xf86DDCGetModes(int scrnIndex, xf86MonPtr DDC)
|
||||
* Fill out MonPtr with xf86MonPtr information.
|
||||
*/
|
||||
void
|
||||
xf86DDCMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC)
|
||||
xf86EdidMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC)
|
||||
{
|
||||
DisplayModePtr Modes = NULL, Mode;
|
||||
int i, clock;
|
||||
|
||||
Reference in New Issue
Block a user