drm/i915: Do not check only primary displays
authorFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 4 Aug 2013 14:58:23 +0000 (16:58 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Sun, 4 Aug 2013 15:04:21 +0000 (17:04 +0200)
commit60ee83d67c80c76392698fd2357756294368a167
tree4a5f8184936a9c1189f77235daccb830dec88aaf
parente876e4b53887e2e17068543e748cec62a3d42fc1
drm/i915: Do not check only primary displays

* On IBM-PC compatible systems, only one graphic adapter can be
  VGA-compatible at the same time

* This adapter is marked with the PCIS_DISPLAY_VGA capability in
  the PCI device list

* With KMS, we do not care about VGA compatibility anymore; let's
  just use whatever hardware is present

* Tested-with: A radeon X550 as primary display adapter
sys/dev/drm2/drm_drv.c