Dave Airlie <[email protected]> writes: > + /* if autoaddgpu devices is enabled then go find a few more and add them > as GPU screens */ > + if (xf86Info.autoAddGPU == FALSE) > + return foundScreen; > + > + if (numDevs) { > + for (j = 0; j < xf86_num_platform_devices; j++) { > + probeSingleDevice(&xf86_platform_devices[j], drvp, devList[0], > PLATFORM_PROBE_GPU_SCREEN); > + } > + }
Bikeshed -- seems like this would be more readable as:
if (xf86Info.autoAddGPU) {
if (numDevs) {
for (j = 0; j < xf86_num_platform_devices; j++) {
probeSingleDevice(&xf86_platform_devices[j],
drvp, devList[0], PLATFORM_PROBE_GPU_SCREEN);
}
}
}
--
[email protected]
pgpmH8WHKMV3A.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
