drm/i915: Enable Haswell support
authorFrançois Tigeot <ftigeot@wolfpond.org>
Mon, 11 Aug 2014 09:58:41 +0000 (11:58 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Mon, 11 Aug 2014 10:31:53 +0000 (12:31 +0200)
commit62e5f8e83d1965557404f130b11aa59d4cae0868
treee1a60133e99301af18200103245f517c1aa88e69
parent9f16360baab2717e9d59aedd399e83e6e71e3b28
drm/i915: Enable Haswell support

* The drm/i915 driver includes its own set of PCI ids, making those in
  drm_pciids.h redundant. Remove i915/i930 ids from this file.

* Unfortunately our old drm code base expects to directly use device
  lists with a different format.

* Rewrite the i915_probe() routine to use the driver-included device
  list and patch a special-purpose, one-element list in the legacy
  format at runtime to make the old drm_attach() routine and associated
  code happy.

* At this point, Haswell GPUs still exhibit display corruption issues
  with 2D acceleration. Disabling it in xorg.conf is recommended.
sys/dev/drm/i915/i915_drv.c
sys/dev/drm/include/drm/drm_pciids.h