[Call for testers] DRM device-independent code update to Linux 3.8 (take #2)

Hans Petter Selasky hps at selasky.org
Mon Mar 23 23:28:55 UTC 2015


Without the attached kernel patch(es), Xorg starts consuming alot of CPU 
and becomes very unresponsive and unusable.

Using ktrace reveals that X-org is issuing DRM_IOCTL_MODE_GETCONNECTOR 
over and over again with no apparent reason. It doesn't happen when 
using a simple window manager like blackbox. I was not able to use XFCE4 
(9-stable userland) with 11-current kernel at all, after the latest DRM2 
kernel updates. It worked fine before the update.

I'm not sure what is causing it. Going through the new DRM2 code 
revealed that a mode sorting function did not take all parameters like 
interlaced or not into account, causing the mode list to be reshuffelled 
every time a new mode scan was done. Not sure if Xorg cares about this 

I can test patches if you have other suggestions.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: drm_patches.diff
Type: text/x-diff
Size: 1366 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150324/077b9db1/attachment.diff>

More information about the freebsd-current mailing list