xserver-multidpi/hw
Søren Sandmann Pedersen 55246b67b7 xf86AddBusDeviceToConfigure(): Store device in DevToConfig[i].pVideo
After fc3ab84d the pVideo field in DevToConfig[i] is no longer
initialized, so it's always NULL. This causes the duplicate finding
algorithm in the beginning of the function to not work anymore as it
is based on this field.

The symptom of this bug is that X -configure reports

    Number of created screens does not match number of detected devices.
      Configuration failed.
    Server terminated with error (2). Closing log file.

rather than producing a working config file.

This patch fixes that bug by initializing the field before calling
xf86PciConfigureNewDev().

Cc: tvignatti@gmail.com
Signed-off-by: Soren Sandmann <ssp@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2013-10-31 18:23:03 -07:00
..
dmx present: Add Present extension 2013-10-31 16:59:18 -07:00
kdrive kdrive/ephyr: Don't discard one-time driver structure at server reset 2013-10-30 09:11:56 -07:00
vfb vfb: Initialize the GLX extension again. 2012-11-21 11:13:55 +11:00
xfree86 xf86AddBusDeviceToConfigure(): Store device in DevToConfig[i].pVideo 2013-10-31 18:23:03 -07:00
xnest xnest: Ignore GetImage() error in xnestGetImage() 2013-09-10 13:26:26 -04:00
xquartz XQuartz: Bump bundle version to 2.7.6 2013-10-31 08:50:57 -07:00
xwin glx: Handle float config types in glxConvertConfigs 2013-10-24 11:47:42 -07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00