[PATCH] drm/bochs: convert bochs driver to atomic mode-setting

2015-06-11 Thread John Hunter
On Thu, Jun 11, 2015 at 2:29 PM, Gerd Hoffmann wrote: > On Do, 2015-06-11 at 11:18 +0800, John Hunter wrote: > > Hi Gerd, > > Here is what I got: > > > > > > [ 813.137939] [drm:drm_pci_init] > > [ 813.142780] [drm:drm_get_pci_dev] > > [ 813.156986] [drm:drm_minor_register] > > [ 813.212679] [

[PATCH] drm/bochs: convert bochs driver to atomic mode-setting

2015-06-11 Thread John Hunter
Hi Gerd, Here is what I got: [ 813.137939] [drm:drm_pci_init] [ 813.142780] [drm:drm_get_pci_dev] [ 813.156986] [drm:drm_minor_register] [ 813.212679] [drm:drm_minor_register] new minor registered 64 [ 813.213341] [drm:drm_minor_register] [ 813.215081] [drm:drm_minor_register] [ 813.235736]

[PATCH] drm/bochs: convert bochs driver to atomic mode-setting

2015-06-11 Thread Gerd Hoffmann
On Do, 2015-06-11 at 11:18 +0800, John Hunter wrote: > Hi Gerd, > Here is what I got: > > > [ 813.137939] [drm:drm_pci_init] > [ 813.142780] [drm:drm_get_pci_dev] > [ 813.156986] [drm:drm_minor_register] > [ 813.212679] [drm:drm_minor_register] new minor registered 64 > [ 813.213341] [drm

[PATCH] drm/bochs: convert bochs driver to atomic mode-setting

2015-06-10 Thread John Hunter
Hi Gerd, I have tried what you told me. 1. Turn off fbdev support: static bool enable_fbdev = *false*; 2. configure a serial console: - add something like "*console=ttyS0, 9600n8*" to the grub menuentry - add a start parameter to qemu when start the virtual machine "*-serial pty*" -

[PATCH] drm/bochs: convert bochs driver to atomic mode-setting

2015-06-10 Thread John Hunter
Thanks for the information, I will try that : ) On Wed, Jun 10, 2015 at 4:04 PM, Gerd Hoffmann wrote: > Hi, > > > As far as I know, the convertion got some problem, and after I > > add the bochs driver when I boot the qemu VM, it just can not > > start up, works fine if I delete bochs-drm.ko f

[PATCH] drm/bochs: convert bochs driver to atomic mode-setting

2015-06-10 Thread John Hunter
From: root convert the bochs driver to atomic mode-setting, referencing the patch serias of drm/exynos sent by Gustavo Padovan Signed-off-by: Zhao Junwang --- Hi all, I am a GSoCer of this year, and my project is to convert bochs driver and cirrus driver to atomic mode-setting. I converted th

[PATCH] drm/bochs: convert bochs driver to atomic mode-setting

2015-06-10 Thread Gerd Hoffmann
On Mi, 2015-06-10 at 19:39 +0800, John Hunter wrote: > Hi Gerd, > I have tried what you told me. > 1. Turn off fbdev support: > static bool enable_fbdev = false; Good. > 2. configure a serial console: > - add something like "console=ttyS0, 9600n8" to the grub menuentry Good. You can use

[PATCH] drm/bochs: convert bochs driver to atomic mode-setting

2015-06-10 Thread Gerd Hoffmann
Hi, > As far as I know, the convertion got some problem, and after I > add the bochs driver when I boot the qemu VM, it just can not > start up, works fine if I delete bochs-drm.ko from it's directory. With fbdev enabled alot initialization happens with some important console lock taken, which