summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86platformBus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/common/xf86platformBus.c')
-rw-r--r--hw/xfree86/common/xf86platformBus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86platformBus.c b/hw/xfree86/common/xf86platformBus.c
index 24eaf8f9b..353dc589c 100644
--- a/hw/xfree86/common/xf86platformBus.c
+++ b/hw/xfree86/common/xf86platformBus.c
@@ -372,7 +372,9 @@ xf86platformProbeDev(DriverPtr drvp)
if (j == xf86_num_platform_devices)
continue;
- foundScreen = probeSingleDevice(&xf86_platform_devices[j], drvp, devList[i], 0);
+ foundScreen = probeSingleDevice(&xf86_platform_devices[j], drvp, devList[i], PLATFORM_PROBE_GPU_SCREEN);
+ if (!foundScreen)
+ foundScreen = probeSingleDevice(&xf86_platform_devices[j], drvp, devList[i], 0);
if (!foundScreen)
continue;
}