qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] hw/qxl: allow vram to be sized to 4096 bytes


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] hw/qxl: allow vram to be sized to 4096 bytes
Date: Fri, 17 Feb 2012 16:11:59 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.26) Gecko/20120130 Red Hat/3.1.18-1.el6_2 Thunderbird/3.1.18

  Hi,

> -    if (qxl->vram_size < 16 * 1024 * 1024) {
> +    /* a request of 0 vram_size is translated to the smallest vram that 
> doesn't
> +     * break current off screen surfaces using drivers */
> +    if (qxl->vram_size > 0 && qxl->vram_size < 16 * 1024 * 1024) {

Is there any reason to keep the 16MB minimum size?  I think we can just
drop it and simplify the logic here.  See the patch series just sent.

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]