commit | f0e607c7d436134b53fd45a4ead36d714451be8a | [log] [tgz] |
---|---|---|
author | David Stevens <[email protected]> | Wed Dec 25 16:43:36 2019 +0900 |
committer | Commit Bot <[email protected]> | Thu Mar 05 03:12:45 2020 +0000 |
tree | e6609390ffa8ff9a7769dbb249a0eff4f913ce2b | |
parent | afb2c56b57fe762c051fdc3804b6b75736b6ec91 [diff] |
minigbm: introduce test allocation This change introduces a GBM_TEST_ALLOC flag to minigbm, which allows for the creation of fake buffers that can be used to determine buffer metadata without actually allocating a full buffer. The new flag is supported by the i915 backends. This flag also alleviates the need to cache buffers when virtio_gpu queries metadata properties. BUG=b:145994510 TEST=play youtube with arcvm demo image plus this and virgl change Change-Id: I9c6819aa3b5b674e4bb33b0656f2a9f155b0884e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/1980688 Tested-by: David Stevens <[email protected]> Reviewed-by: Gurchetan Singh <[email protected]> Commit-Queue: David Stevens <[email protected]>