On 03/12/2013 04:24, Konstantin Belousov wrote: >> is not currently being used, as upstream doesn't have it, and the >> FreeBSD port uses a simpler, "return 0" stub instead: > Whay do you mean by upstream ? The freedesktop libdrm git ?
Yes. >> http://svnweb.freebsd.org/ports/head/graphics/libdrm/files/extra-xf86drmMode.c?revision=300896&view=markup >> >> Is this patch still meant to be used with current FreeBSD? >> >> We're not even sure if the patch works anymore. If the "return 0" stub >> is the way to go, we could push it upstream and also apply it in Debian >> to follow what FreeBSD is doing. > > Again, what do you mean by 'anymore' ? It worked when I wrote it, and > kernel driver(s) definitely were not changed there. OTOH, I am not > sure if radeon driver for drm2 followed the protocol, it should call > drm_add_busid_modesetting() for the detection to work. Apparently, > I do not see the corresponding call from the radeon driver in HEAD. > This should be fixed. Ah, I see what's going on. It's not just the call. radeonkms doesn't even implement any sort of sysctl support :-( > Also, I have no idea why ports do not use the suggested patch, and did > the gross hack with 'return (0);'. I even not sure whom to ask. SVN blame isn't much helpful, it just points to the initial commit from Martin Wilke, with Xorg update: http://svnweb.freebsd.org/ports/head/graphics/libdrm/files/extra-xf86drmMode.c?revision=295195&view=markup Anyway thanks for the pointers! -- Robert Millan -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

