commit | c53f5b89f19b3051384d202dd750d23fb38f0994 | [log] [tgz] |
---|---|---|
author | Tao Wu <lepton@google.com> | Thu Nov 09 10:17:41 2017 -0800 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Fri Nov 10 11:05:19 2017 +0100 |
tree | 112bafa7e03b0aa3611a0a089228c09ba8b1b456 | |
parent | b0fbe46ad82982b289a44ee2495b59b0bad8a842 [diff] |
virtio-gpu: fix bug in host memory calculation. The old code treats bits as bytes when calculating host memory usage. Change it to be consistent with allocation logic in pixman library. Signed-off-by: Tao Wu <lepton@google.com> Message-Id: <20171109181741.31318-1-lepton@google.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>