Re: xf86-video-armada via UDL [was: Re: UDL's fbdev doesn't work for user-space apps]

From: Emil Velikov
Date: Mon Dec 04 2017 - 12:53:06 EST


On 4 December 2017 at 14:02, Jose Abreu <Jose.Abreu@xxxxxxxxxxxx> 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