Currently, our DRM uses a small Linux wrapper in sys/dev/drm2/drm_os_freebsd.[ch]. Now that we have a centralized Linux shim (moved out of OFED), we want to use it. It will avoid duplicate efforts. In DRM, it will further reduce the diff with Linux.
This branch will be used for the update to Linux 3.9 just after this task.
drm_gem_names.cThe project just started with a contribution from Conrad Meyer: he changed all calls to FreeBSD's malloc(9) to Linux kmalloc() calls.
Whether it works or not, we are interested in the output of dmesg and, in case of a kernel crash, the corresponding /var/crash/core.txt.* files. Please send them to the freebsd-x11 mailing list.
At this time, we aren't providing user support. However, if you have patches, they are very much welcome!
Thank you for your help!
# In /etc/rc.conf dumpdev="AUTO" ddb_enable="YES"
Additionally, it helps to have the following sysctl:
# In /etc/sysctl.conf debug.debugger_on_panic=0
# In /boot/loader.conf drm.debug=7
drm-next-3.9 branch:git clone -b drm-next-3.9 \ https://github.com/freebsd/freebsd-base-graphics.git
cd freebsd-base-graphics sudo make kernel INSTKERNNAME=kernel.39
sudo nextboot -k kernel.39 sudo reboot
sudo kldload i915kms
}}} or {{{
sudo kldload radeonkms