On 5/15/12 2:52 PM, Dave Airlie wrote:
Pass the ScrnInfoPtr instead of the index in the int10 struct.

Mostly good, but...

@@ -340,7 +341,7 @@ vbeDoEDID(vbeInfoPtr pVbe, pointer pDDCModule)
      if (!DDC_data)
          return NULL;

-    pMonitor = xf86InterpretEDID(pVbe->pInt10->scrnIndex, DDC_data);
+    pMonitor = xf86InterpretEDID(pVbe->pInt10->pScrn->scrnIndex, DDC_data);

The callee here wants index->ptr conversion too, doesn't it? I don't think I see that in subsequent patches.

- ajax
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to