From: "Stefan Lippers-Hollmann" <s.L-H@gmx.de>
To: Matthew Garrett <mjg@redhat.com>
Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: drm: Add a driver for kvm emulated Cirrus
Date: Tue, 2 Aug 2011 23:29:31 +0200 [thread overview]
Message-ID: <201108022329.33538.s.L-H@gmx.de> (raw)
In-Reply-To: <1303157094-11425-1-git-send-email-mjg@redhat.com>
Hi
On Tuesday 02 August 2011, Matthew Garrett wrote:
> qemu-kvm emulates a Cirrus GPU, including its acceleration engine. We
> typically then run a Cirrus-specific X driver on top of this, which
> turns requests into commands and sends them to the emulated accelerator.
> This all seems to be unnecessary overhead given that we're just going
> to end up writing to memory from the host instead, and performance is
> almost certainly going to be better using an unaccelerated framebuffer
> and a guest-side shadow.
>
> This patch provides a simple modesetting-only KMS driver for the hardware
> emulated in qemu-kvm. It's stripped down to the point where it's able to
> program the emulation, but would almost certainly fail miserably if asked
> to run on real hardware. It's intended to reduce virt overhead slightly,
> but also to serve as a template to writing a basic KMS driver.
>
> The code and structure are heavily derived from Matt Turner's glint
> driver, with the modesetting code cribbed from cirrusfb (hence the
> license).
[...]
What is the status of this KMS based drm driver for cirrus-kvm?
I've been successfully testing this patch in 2.6.{38,39} and 3.0
(Debian unstable userspace, xserver-xorg-core <=2:1.10.2.902-1,
xserver-xorg-video-cirrus <=1:1.3.2-4+b1, qemu-kvm <=0.14.1+dfsg-4)
with pretty good results. While it shares the same issues with plain
cirrus (no regressions) before this patch (inverted colors in KDE,
window management issues in LXDE), the KMS based drm driver seems to
be a big improvement over all.
Regards
Stefan Lippers-Hollmann
prev parent reply other threads:[~2011-08-02 21:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-18 20:04 [PATCH] " Matthew Garrett
2011-04-18 20:26 ` Matt Turner
2011-04-18 21:03 ` Alan Cox
2011-04-18 21:20 ` Matthew Garrett
2011-04-19 17:38 ` Matthew Garrett
2011-08-02 21:29 ` Stefan Lippers-Hollmann [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=201108022329.33538.s.L-H@gmx.de \
--to=s.l-h@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg@redhat.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
all inboxes | Powered by JetHome®