Skip to content
Commit 7617a0a1 authored by Qiang Yu's avatar Qiang Yu Committed by Adam Jackson
Browse files

dri2: refine dri2_probe_driver_name (v2)



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.

Signed-off-by: default avatarQiang Yu <Qiang.Yu@amd.com>
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
parent b1a69863
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment