All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1572959] [NEW] bcm2835_property: inconsistent values when both setting and querying the framebuffer
@ 2016-04-21 10:49 Sylvain
  2019-04-10 12:08 ` [Qemu-devel] [Bug 1572959] " Thomas Huth
  0 siblings, 1 reply; 2+ messages in thread
From: Sylvain @ 2016-04-21 10:49 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

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 single 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.

Attached is a patch also sent to the qemu-devel mailing list.

** Affects: qemu
     Importance: Undecided
         Status: New

** Patch added: "Fix mbox_property"
   https://bugs.launchpad.net/bugs/1572959/+attachment/4641358/+files/mbox_property.patch

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1572959

Title:
  bcm2835_property: inconsistent values when both setting and querying
  the framebuffer

Status in QEMU:
  New

Bug description:
  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 single 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.

  Attached is a patch also sent to the qemu-devel mailing list.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1572959/+subscriptions

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Qemu-devel] [Bug 1572959] Re: bcm2835_property: inconsistent values when both setting and querying the framebuffer
  2016-04-21 10:49 [Qemu-devel] [Bug 1572959] [NEW] bcm2835_property: inconsistent values when both setting and querying the framebuffer Sylvain
@ 2019-04-10 12:08 ` Thomas Huth
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Huth @ 2019-04-10 12:08 UTC (permalink / raw)
  To: qemu-devel

The patch had been merged here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=27a5dc7be6a55b60039e3920

** Changed in: qemu
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1572959

Title:
  bcm2835_property: inconsistent values when both setting and querying
  the framebuffer

Status in QEMU:
  Fix Released

Bug description:
  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 single 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.

  Attached is a patch also sent to the qemu-devel mailing list.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1572959/+subscriptions

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-10 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-21 10:49 [Qemu-devel] [Bug 1572959] [NEW] bcm2835_property: inconsistent values when both setting and querying the framebuffer Sylvain
2019-04-10 12:08 ` [Qemu-devel] [Bug 1572959] " Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.