From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF2Lb-00075I-VO for qemu-devel@nongnu.org; Fri, 21 Sep 2012 08:28:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TF2La-0003eV-2t for qemu-devel@nongnu.org; Fri, 21 Sep 2012 08:28:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF2LZ-0003eG-R6 for qemu-devel@nongnu.org; Fri, 21 Sep 2012 08:28:42 -0400 Message-ID: <505C5D72.8050005@redhat.com> Date: Fri, 21 Sep 2012 14:28:34 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1348053341-29212-1-git-send-email-kraxel@redhat.com> <1348053341-29212-5-git-send-email-kraxel@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 4/9] fbdev: add linux framebuffer display driver. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: "qemu-devel@nongnu.org" Hi, >> + case FB_ACQ_REQ: >> + fbdev_switch_acquire(); >> + redraw_screen++; > > Rather than introducing redraw_screen, I would just call vga_hw_invalidate > instead here. It is always a win if we can avoid to introduce one more > state machine. Wouldn't that make the vga emulation do additional work which is simply not needed? cheers, Gerd