public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: yuchenlin@synology.com
Cc: edk2-devel@lists.01.org, jordan.l.justen@intel.com,
	lersek@redhat.com, ard.biesheuvel@linaro.org,
	anthony.perard@citrix.com, julien.grall@linaro.org,
	phil@philjordan.eu
Subject: Re: [PATCH 4/4] OvmfPkg: simply use the Bochs interface for vmsvga
Date: Wed, 24 Oct 2018 11:16:13 +0200	[thread overview]
Message-ID: <20181024091613.ldkvwawwslgd34ud@lupin.home.kraxel.org> (raw)
In-Reply-To: <20181024064008.26535-5-yuchenlin@synology.com>

On Wed, Oct 24, 2018 at 02:40:08PM +0800, yuchenlin@synology.com wrote:
> From: yuchenlin <yuchenlin@synology.com>
> 
> BAR  |    std vga     |  vmsvga
> ---------------------------------
> 0    |   Framebuffer  | I/O space
> 1    |   Reserved     | Framebuffer
> 2    |   MMIO         | FIFO
> 
> Because of the PCI BARs difference between std vga and
> vmsvga, we can not simply recognize the "QEMU VMWare SVGA"
> as the QEMU_VIDEO_BOCHS_MMIO variant.
> 
> Instead, we remain variant QEMU_VIDEO_VMWARE_SVGA, and use
> it for:
> 
> (1) Get framebuffer from correct PCI BAR
> (2) Prevent using BAR2 for MMIO

looks good to me.  seavgabios uses the same logic.

cheers,
  Gerd



  reply	other threads:[~2018-10-24  9:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-24  6:40 [PATCH 0/4] OvmfPkg: simply use the Bochs interface for vmsvga yuchenlin
2018-10-24  6:40 ` [PATCH 1/4] Revert "OvmfPkg/QemuVideoDxe: VMWare SVGA device support" yuchenlin
2018-11-01 18:58   ` Philippe Mathieu-Daudé
2018-11-02  2:09     ` yuchenlin
2018-10-24  6:40 ` [PATCH 2/4] Revert "OvmfPkg/QemuVideoDxe: Helper functions for unaligned port I/O." yuchenlin
2018-10-24  6:40 ` [PATCH 3/4] Revert "OvmfPkg/QemuVideoDxe: list "UnalignedIoInternal.h" in the INF file" yuchenlin
2018-10-24  6:40 ` [PATCH 4/4] OvmfPkg: simply use the Bochs interface for vmsvga yuchenlin
2018-10-24  9:16   ` Gerd Hoffmann [this message]
2018-11-01 18:54   ` Philippe Mathieu-Daudé
2018-11-02  2:05     ` yuchenlin
2018-11-01 19:02 ` [PATCH 0/4] " Philippe Mathieu-Daudé
2018-11-02  2:12   ` yuchenlin

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-list 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=20181024091613.ldkvwawwslgd34ud@lupin.home.kraxel.org \
    --to=devel@edk2.groups.io \
    /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