On Mon, Jan 27, 2014 at 11:18:51PM +0100, David Herrmann wrote:
Hi
On Thu, Jan 23, 2014 at 3:14 PM, David Herrmann dh.herrmann@gmail.com wrote:
Hi
Another round of SimpleDRM patches. I somehow lost track of the last ones and as this is a major rewrite, I'll just start at v1 again.
Some comments up-front:
@Ingo: Patch #1 and #2 are unchanged from the previous ML discussions. I included them in this series as the other patches depend on them. Could you pick them up for the x86 tree? The other 9 patches won't make it in 3.14 so no reason to put them through the DRM tree. All mentioned issues should be addressed. If there's still sth missing, please let me know.
The DRM patches depend on my "DRM Anonymous Inode" patches. But it should be trivial to apply them on drm-next (I think only one line needs to be changed: i_mapping => dev_mapping).
I tested the SimpleDRM fbdev fallback with linux-console+Xorg and it works fine. The DRM backend is only tested with some DRM tests I have locally. I have no idea how to make Xorg pick up a specific /dev/dri/card0 card. It always tells me "no screens found" (as the underlying device is not marked as boot_vga..). If someone knows how to tell Xorg to use card0, I'd gladly test this. But I'm no longer used to writing xorg.confs..
For completeness, I tested this with Xorg+xf86-video-modesetting and it works just fine. The xorg.conf I used can be found below. If this driver gets upstreamed, I will try to make the X11 auto-loader detect it just like any other platform-device.
I recently posted patches[0] to the xorg-devel mailing list that I think should solve that issue.
Thierry
[0]: http://lists.x.org/archives/xorg-devel/2014-February/040568.html