All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frederic Konrad <fred.konrad@greensocs.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: peter.crosthwaite@xilinx.com, mark.burton@greensocs.com,
	qemu-devel@nongnu.org, hyunk@xilinx.com
Subject: Re: [Qemu-devel] [PATCH 3/8] console: add qemu_alloc_display_format.
Date: Mon, 18 May 2015 13:56:07 +0200	[thread overview]
Message-ID: <5559D357.1010103@greensocs.com> (raw)
In-Reply-To: <1431947865.16446.29.camel@nilsson.home.kraxel.org>

On 18/05/2015 13:17, Gerd Hoffmann wrote:
> On Mo, 2015-05-18 at 09:51 +0200, Frederic Konrad wrote:
>> On 18/05/2015 09:34, Gerd Hoffmann wrote:
>>> On Mi, 2015-05-13 at 21:12 +0200, fred.konrad@greensocs.com wrote:
>>>> From: KONRAD Frederic <fred.konrad@greensocs.com>
>>>>
>>>> This allows to create a surface with a different format than xrgb8888.
>>> What is the use case for this?
>>>
>>> cheers,
>>>     Gerd
>>>
>>>
>>>
>> Hi,
>>
>> The Display Port introduced in patch 7 and the driver use differents
>> pixel format.
>> eg: rgb565, RGB888, etc. see xilinx_dp_change_graphic_fmt in patch 7:
> Ah, and dpdma scatterlists (patch 6) suggest the guest framebuffer is
> not contiguous in guest phyiscal memory, correct?  So using guest memory
> as surface storage using qemu_create_displaysurface_from() doesn't work.
Exactly, the framebuffer is not necessarilly contiguous, so I need to 
put the
fragment into the pixman storage.

> But I think you can simply call qemu_create_displaysurface_from() with
> linesize=0 and data=NULL to make pixman allocate storage for you.
Ah, maybe! I'll check that.

Thanks,
Fred
> cheers,
>    Gerd
>
>

  reply	other threads:[~2015-05-18 11:56 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-13 19:11 [Qemu-devel] [PATCH 0/8] Xilinx DisplayPort fred.konrad
2015-05-13 19:11 ` [Qemu-devel] [PATCH 1/8] Introduce AUX bus fred.konrad
2015-05-13 19:12 ` [Qemu-devel] [PATCH 2/8] i2c: implement broadcast write fred.konrad
2015-05-14  3:58   ` Peter Crosthwaite
2015-05-13 19:12 ` [Qemu-devel] [PATCH 3/8] console: add qemu_alloc_display_format fred.konrad
2015-05-18  7:34   ` Gerd Hoffmann
2015-05-18  7:51     ` Frederic Konrad
2015-05-18 11:17       ` Gerd Hoffmann
2015-05-18 11:56         ` Frederic Konrad [this message]
2015-05-13 19:12 ` [Qemu-devel] [PATCH 4/8] introduce dpcd module fred.konrad
2015-05-14  4:10   ` Peter Crosthwaite
2015-05-18 13:57     ` Frederic Konrad
2015-05-13 19:12 ` [Qemu-devel] [PATCH 5/8] hw/i2c-ddc.c: Implement DDC I2C slave fred.konrad
2015-05-13 19:12 ` [Qemu-devel] [PATCH 6/8] Introduce xilinx dpdma fred.konrad
2015-05-18  8:17   ` Peter Crosthwaite
2015-05-18  8:43     ` Frederic Konrad
2015-05-13 19:12 ` [Qemu-devel] [PATCH 7/8] Introduce xilinx dp fred.konrad
2015-05-13 19:12 ` [Qemu-devel] [PATCH 8/8] arm: xlnx-zynqmp: Add DisplayPort and DPDMA fred.konrad
2015-05-14  3:30   ` Peter Crosthwaite
2015-05-18  6:58     ` Frederic Konrad

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=5559D357.1010103@greensocs.com \
    --to=fred.konrad@greensocs.com \
    --cc=hyunk@xilinx.com \
    --cc=kraxel@redhat.com \
    --cc=mark.burton@greensocs.com \
    --cc=peter.crosthwaite@xilinx.com \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.