<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 7, 2015 at 2:56 PM, Gerd Hoffmann <span dir="ltr"><<a href="mailto:kraxel@redhat.com" target="_blank">kraxel@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Do, 2015-04-02 at 09:57 +0800, John Hunter wrote:<br>
> Hi Daniel,<br>
> Sorry to disturb you, I realized you are a busy man of the community.<br>
> So I did some work before I email you.<br>
><br>
><br>
> I submit my proposal as you suggest, convert the two virtual driver<br>
> (CIRRUS<br>
> and BOCHS, if I remember it right) to atomic mode-setting.<br>
><br>
><br>
> After talked with Martin Peres(the administrator of xorg on gsoc) and<br>
> Gerd Hoffmann (the author of VirtIO gpu driver), we got this question,<br>
> is CIRRUS suitable to convert, as qemu using cirrus considered<br>
> harmful.<br>
<br>
</span>Short background summary on the later for everybody involved:<br>
<br>
cirrus emulates hardware from the 90ies which simply isn't up to todays<br>
needs.  The two major issues:<br>
<br>
 * It has very limited video memory.  The cirrus driver does swap<br>
   framebuffers in and out of video memory because of that.  I suspect<br>
   converting the driver to atomic modesetting will be either impossible<br>
   or at least pretty difficult because of that.  The limited video<br>
   memory also limits the available resolutions, cirrus can't do FullHD<br>
   for example.<br></blockquote><div> </div><div>I think at least I should give it a try. If it is really impossible to convert, then </div><div>we should talk about whether we should deprecate it in the future.</div><div>And I hope to treat cirrus as an test filed, it's a easier driver, so I can get into</div><div>the drm kernel hacking quickly.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 * cirrus can run 1024x768 only at 24bpp (not 32bpp).  Which is rather<br>
   unusual these days and cirrus has display issues in xorg because it<br>
   takes code paths which are not really maintained & tested any more.<br>
<br>
cirrus isn't the default vga any more in qemu version 2.2 & newer<br>
because of these problems.<br>
<br>
cheers,<br>
  Gerd<br>
<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>Best regards<br></div><div>Junwang Zhao</div><div>Microprocessor Research and Develop Center</div><div>Department of Computer Science &Technology</div><div>Peking University</div><div>Beijing, 100871, PRC</div></div></div>
</div></div>