dri2: refine dri2_probe_driver_name (v2)

Graphics / X.Org / X.Org Server - Qiang Yu [amd.com] - 25 January 2017 15:13 UTC

V2: 1. update comment 2. check bustype if PCI 3. configure add libdrm version check for drmGetDevice

Get PCI information from info->fd with drmGetDevice instead of assuming the info->fd is the first entity of scrn which is not true for multi entities scrn.

7617a0a dri2: refine dri2_probe_driver_name (v2)
configure.ac | 7 ++++++-
hw/xfree86/dri2/dri2.c | 43 ++++++++++++++++++++++++-------------------
2 files changed, 30 insertions(+), 20 deletions(-)

Upstream: cgit.freedesktop.org


  • Share