From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atDzW-0006jX-V8 for qemu-devel@nongnu.org; Thu, 21 Apr 2016 08:45:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atDzV-0002Xv-U8 for qemu-devel@nongnu.org; Thu, 21 Apr 2016 08:45:54 -0400 Received: from mail-vk0-x233.google.com ([2607:f8b0:400c:c05::233]:34058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atDzV-0002XZ-Dj for qemu-devel@nongnu.org; Thu, 21 Apr 2016 08:45:53 -0400 Received: by mail-vk0-x233.google.com with SMTP id e185so96413855vkb.1 for ; Thu, 21 Apr 2016 05:45:53 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1461235306-3393-1-git-send-email-sylvain@sylvaingarrigues.com> References: <1461235306-3393-1-git-send-email-sylvain@sylvaingarrigues.com> From: Peter Maydell Date: Thu, 21 Apr 2016 13:45:33 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH] bcm2835_property: use cached values when querying framebuffer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sylvain Garrigues Cc: Andrew Baumann , Eric Blake , Markus Armbruster , Paolo Bonzini , qemu-arm , QEMU Developers On 21 April 2016 at 11:41, Sylvain Garrigues wrote: > As the framebuffer settings are copied into the result message before > it is reconfigured, inconsistent behavior can happen when, for instance, > you set with a sinle message the width, height, and depth, and ask at > the same time to allocate the buffer and get the pitch and the size. > > In this case, the reported pitch and size would be incorrect as they > were computed with the initial values of width, height and depth, not > the ones the client requested. Thanks for this patch. I think at this point in the 2.6 release cycle we should leave this for the 2.7 release, given that it doesn't affect the booting of the older Linux and Windows versions that work on the raspi2 board. I'll let Andrew review the patch... -- PMM