[PATCH] Do nothing when there are no platform devices
Marcin Juszkiewicz
mjuszkiewicz at redhat.com
Tue Sep 1 04:07:02 PDT 2015
W dniu 01.09.2015 o 09:23, Dave Airlie pisze:
> On 1 September 2015 at 04:24, Marcin Juszkiewicz
> <mjuszkiewicz at redhat.com> wrote:
>> The problem is that xf86_num_platform_devices == 0 so there is
>> nothing to search for.
> That makes sense, but isn't the problem you are having,
I am aware that something in kernel/udev area is wrong. Just
found that this fix can be useful for someone too.
> why isn't udev picking up the GPU?
No idea - especially when it is aware of it:
13:04 hrw at pinkiepie-rawhide:xserver$ udevadm info -n /dev/dri/card0
P: /devices/platform/soc/1f2b0000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/drm/card0
N: dri/card0
E: DEVNAME=/dev/dri/card0
E: DEVPATH=/devices/platform/soc/1f2b0000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/drm/card0
E: DEVTYPE=drm_minor
E: ID_FOR_SEAT=drm-platform-1f2b0000_pcie-pci-0000_01_00_0
E: ID_PATH=platform-1f2b0000.pcie-pci-0000:01:00.0
E: ID_PATH_TAG=platform-1f2b0000_pcie-pci-0000_01_00_0
E: MAJOR=226
E: MINOR=0
E: SUBSYSTEM=drm
E: TAGS=:uaccess:seat:master-of-seat:
E: USEC_INITIALIZED=10112761
> and setting xf86_num_platform_devices to 1 is the question you need
> to answer
Digging into it today.
> pci probing isn't really something we should be relying on.
It was my last hope ;)
More information about the xorg-devel
mailing list