i915 - Add delay after attach to avoid console/X races
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 16 Dec 2015 01:17:44 +0000 (17:17 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 16 Dec 2015 01:17:44 +0000 (17:17 -0800)
commitbcd3cd8cf7c8b213bde5de3d36b4308f28a14be3
tree74a2989c3d5704a7e62b3f6bd7fbac2a95356ac5
parenta291abfbc5000434d99844925cb8e7a0ce8e8ee5
i915 - Add delay after attach to avoid console/X races

* Add a delay in the i915 attach to give the kms_console time to
  initialize before X starts to muck around with the gpu.

* Appears to avoid deadlock-on-startup problems when X itself loads
  the i915 driver (verses it being preloaed).
sys/dev/drm/i915/i915_drv.c