From: Fabio Fantoni <fabio.fantoni@m2r.biz>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Anthony Liguori" <aliguori@us.ibm.com>,
xen-devel@lists.xensource.com,
"Stefano Stabellini" <stefano.stabellini@eu.citrix.com>,
"Fabio Fantoni" <fantonifabio@tiscali.it>,
qemu-devel <qemu-devel@nongnu.org>,
"Alon Levy" <alevy@redhat.com>,
"Frediano Ziglio" <freddy77@gmail.com>,
"Andreas Färber" <afaerber@suse.de>,
"Gerd Hoffmann" <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [Xen-devel] [RFC PATCH] vga: Start supporting resolution not multiple of 16 correctly.
Date: Thu, 03 Oct 2013 14:09:33 +0200 [thread overview]
Message-ID: <524D5E7D.4080108@m2r.biz> (raw)
In-Reply-To: <20130925161236.GN2924@reaktio.net>
Il 25/09/2013 18:12, Pasi Kärkkäinen ha scritto:
> On Sun, Jul 28, 2013 at 05:56:01PM +0100, Frediano Ziglio wrote:
>> 2013/7/23 Gerd Hoffmann <[1]kraxel@redhat.com>
>>
>> Â Hi,
>> > Tested-by: Fabio Fantoni <[2]fabio.fantoni@m2r.biz>
>> >
>> > I tested it for a long time with spice on xen (because qxl will be
>> fully
>> > working only after adding SSE support on hvm domUs). It works, I think
>> > it is good to add this and the respective vgabios patch on upstream.
>>
>> >> Â Â Â Â Â case VBE_DISPI_INDEX_XRES:
>> >> - Â Â Â Â Â Â if ((val <= VBE_DISPI_MAX_XRES) && ((val & 7) ==
>> 0)) {
>> >> + Â Â Â Â Â Â if ((val <= VBE_DISPI_MAX_XRES) && ((val & 1) ==
>> 0)) {
>> >> Â Â Â Â Â Â Â Â Â s->vbe_regs[s->vbe_index] = val;
>> >> Â Â Â Â Â Â Â }
>> >> Â Â Â Â Â Â Â break;
>>
>> It's not that simple. Â With 32bit depths common today it will work
>> fine,
>> but for lower depths (especially those lower than 8bit) this will give
>> you broken scanline alignment.
>>
>> cheers,
>> Â Gerd
>>
>> In the card I tested the scanline is keep aligned but for this reason is
>> not directly computed by maxx * bits but is something bigger.
>>
> Hmm.. so is an update needed for this patch? It'd be nice to get this patch in!
Ping
Some statistics for evidence the importance to add support for 1366x768
and other resolutions:
http://www.rapidtables.com/web/dev/screen-resolution-statistics.htm
http://www.geek.com/chips/most-popular-screen-resolution-increases-to-1366-x-768-1482311/
>
> -- Pasi
>
>> Frediano
>>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
prev parent reply other threads:[~2013-10-03 12:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-15 18:14 [Qemu-devel] [RFC PATCH] vga: Start supporting resolution not multiple of 16 correctly Frediano Ziglio
2013-03-19 13:56 ` Stefano Stabellini
2013-05-09 14:20 ` [Qemu-devel] [Xen-devel] " Pasi Kärkkäinen
2013-05-10 5:52 ` [Qemu-devel] " Andreas Färber
2013-06-18 10:17 ` Frediano Ziglio
2013-07-23 9:29 ` Fabio Fantoni
2013-07-23 11:28 ` Gerd Hoffmann
2013-07-28 16:56 ` Frediano Ziglio
2013-09-25 16:12 ` [Qemu-devel] [Xen-devel] " Pasi Kärkkäinen
2013-10-03 12:09 ` Fabio Fantoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=524D5E7D.4080108@m2r.biz \
--to=fabio.fantoni@m2r.biz \
--cc=afaerber@suse.de \
--cc=alevy@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=fantonifabio@tiscali.it \
--cc=freddy77@gmail.com \
--cc=kraxel@redhat.com \
--cc=pasik@iki.fi \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).