]> git.proxmox.com Git - mirror_qemu.git/commit
qxl: refactor rounding up to a nearest power of 2
authorRadim Krčmář <rkrcmar@redhat.com>
Tue, 17 Feb 2015 16:30:52 +0000 (17:30 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 3 Mar 2015 07:33:08 +0000 (08:33 +0100)
commitbb7443f6d6f09411ea10f06e6cb0d416bd1ccebd
tree3d01f66f23e0bc87df16713247ee40fc075d9586
parent876d516311c1538a7d29f2abec48b7cda0645eea
qxl: refactor rounding up to a nearest power of 2

We already have pow2floor, mirror it and use instead of a function with
similar results (same in used domain), to clarify our intent.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/qxl.c
include/qemu-common.h
util/cutils.c