Home
last modified time | relevance | path

Searched hist:"54 a85d462447c1cb8a1638578a7fd086350b4d2d" (Results 1 – 3 of 3) sorted by relevance

/qemu/hw/display/
H A Dvga_int.h54a85d462447c1cb8a1638578a7fd086350b4d2d Tue Aug 26 12:16:30 UTC 2014 Gerd Hoffmann <kraxel@redhat.com> vbe: make bochs dispi interface return the correct memory size with qxl

VgaState->vram_size is the size of the pci bar. In case of qxl not the
whole pci bar can be used as vga framebuffer. Add a new variable
vbe_size to handle that case. By default (if unset) it equals
vram_size, but qxl can set vbe_size to something else.

This makes sure VBE_DISPI_INDEX_VIDEO_MEMORY_64K returns correct results
and sanity checks are done with the correct size too.

Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
H A Dvga.c54a85d462447c1cb8a1638578a7fd086350b4d2d Tue Aug 26 12:16:30 UTC 2014 Gerd Hoffmann <kraxel@redhat.com> vbe: make bochs dispi interface return the correct memory size with qxl

VgaState->vram_size is the size of the pci bar. In case of qxl not the
whole pci bar can be used as vga framebuffer. Add a new variable
vbe_size to handle that case. By default (if unset) it equals
vram_size, but qxl can set vbe_size to something else.

This makes sure VBE_DISPI_INDEX_VIDEO_MEMORY_64K returns correct results
and sanity checks are done with the correct size too.

Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
H A Dqxl.c54a85d462447c1cb8a1638578a7fd086350b4d2d Tue Aug 26 12:16:30 UTC 2014 Gerd Hoffmann <kraxel@redhat.com> vbe: make bochs dispi interface return the correct memory size with qxl

VgaState->vram_size is the size of the pci bar. In case of qxl not the
whole pci bar can be used as vga framebuffer. Add a new variable
vbe_size to handle that case. By default (if unset) it equals
vram_size, but qxl can set vbe_size to something else.

This makes sure VBE_DISPI_INDEX_VIDEO_MEMORY_64K returns correct results
and sanity checks are done with the correct size too.

Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>