drm/i915: Enable Haswell support

Operating Systems / DragonFlyBSD - François Tigeot [wolfpond.org] - 11 August 2014 05:31 UTC

- 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.

62e5f8e drm/i915: Enable Haswell support
sys/dev/drm/i915/i915_drv.c | 32 +++++++++++++++-----
sys/dev/drm/include/drm/drm_pciids.h | 54 ----------------------------------
2 files changed, 25 insertions(+), 61 deletions(-)

Upstream: gitweb.dragonflybsd.org

  • Share