Messages in this thread | | | From | Emil Velikov <> | Date | Mon, 4 Dec 2017 17:52:58 +0000 | Subject | Re: xf86-video-armada via UDL [was: Re: UDL's fbdev doesn't work for user-space apps] |
| |
On 4 December 2017 at 14:02, Jose Abreu <Jose.Abreu@synopsys.com> wrote: > On 04-12-2017 13:16, Alexey Brodkin wrote: >> Option "kmsdev" "/dev/dri/card1" > > Which drm driver uses /dev/dri/card0? I'm seing drmOpen code and > if you don't specify the busID it will fallback for the first > card that matches "armada-drm" or "imx-drm" or "udl". > As you've noticed, drmOpen can give you some 'nice' side-effects. I'd recommend getting a list of devices with drmGetDevice{,s}2 and applying $heuristics to filter the device you want.
-Emil
| |