xserver-multidpi/hw
Dave Airlie 39f73e813f xf86/pci: fix slot claiming counting.
Currently if we claim a slot for a PCI driver, we never let it go properly,
this prevents the fallback probe from reusing the slot, even though it
isn't claimed for that pci slot.

So if you set the modesetting driver to point at a specific kms device,
that isn't a PCI device (i.e. USB dongle), then the modesetting driver
loads, the pci probe tries to bind the config slot to the primary PCI
device, however we then check the kms device bus id to discover it
isn't valid. However we don't remove the claim on the slot. Next the
old probe function is called and there is no slots to claim.

This patch fixes that and converts the pciSlotClaimed boolean into
a counter, and changes the unclaim api to take a device pointer
to remove from the entity.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-05-21 12:58:33 +01:00
..
dmx dmx: Annotate dmxlog.c with _X_ATTRIBUTE_PRINTF and _X_NORETURN 2012-05-01 11:36:35 +10:00
kdrive kdrive: Remove redundant declarations. 2012-05-14 13:17:26 +01:00
vfb os: Pass the FatalError message to OsVendorFatalError 2012-03-24 01:07:05 -07:00
xfree86 xf86/pci: fix slot claiming counting. 2012-05-21 12:58:33 +01:00
xnest os: Pass the FatalError message to OsVendorFatalError 2012-03-24 01:07:05 -07:00
xquartz XQuartz: Avoid a race in initialization of darwinPointer 2012-05-17 16:32:06 -07:00
xwin hw/xwin/glx: Use silent rules 2012-05-04 13:13:57 -05:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00