xfree86: Remove some leftovers from DisplayID support
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
0cd2a24b61
commit
8be83fff04
|
@ -53,11 +53,7 @@ addRootWindowProperties(ScrnInfoPtr pScrn, xf86MonPtr DDC)
|
|||
{
|
||||
int scrnIndex = pScrn->scrnIndex;
|
||||
|
||||
if (DDC->flags & MONITOR_DISPLAYID) {
|
||||
/* Don't bother, use RANDR already */
|
||||
return;
|
||||
}
|
||||
else if (DDC->ver.version == 1) {
|
||||
if (DDC->ver.version == 1) {
|
||||
int size = 128 +
|
||||
(DDC->flags & EDID_COMPLETE_RAWDATA ? DDC->no_sections * 128 : 0);
|
||||
|
||||
|
@ -76,9 +72,7 @@ xf86SetDDCproperties(ScrnInfoPtr pScrn, xf86MonPtr DDC)
|
|||
if (!pScrn || !pScrn->monitor || !DDC)
|
||||
return FALSE;
|
||||
|
||||
if (DDC->flags & MONITOR_DISPLAYID);
|
||||
else
|
||||
xf86EdidMonitorSet(pScrn->scrnIndex, pScrn->monitor, DDC);
|
||||
xf86EdidMonitorSet(pScrn->scrnIndex, pScrn->monitor, DDC);
|
||||
|
||||
addRootWindowProperties(pScrn, DDC);
|
||||
|
||||
|
|
|
@ -537,7 +537,6 @@ struct detailed_monitor_section {
|
|||
#define MONITOR_EDID_COMPLETE_RAWDATA 0x01
|
||||
/* old, don't use */
|
||||
#define EDID_COMPLETE_RAWDATA 0x01
|
||||
#define MONITOR_DISPLAYID 0x02
|
||||
|
||||
/*
|
||||
* For DisplayID devices, only the scrnIndex, flags, and rawData fields
|
||||
|
|
Loading…
Reference in New Issue
Block a user