summary refs log tree commit diff
path: root/devices/src/virtio/gpu/mod.rs
diff options
context:
space:
mode:
authorGurchetan Singh <gurchetansingh@chromium.org>2019-06-06 17:34:07 -0700
committerCommit Bot <commit-bot@chromium.org>2019-07-16 17:21:39 +0000
commited88b0ef5eff1845fe266b620b1866fe85ba2532 (patch)
treee052af5cce035ea2212390f5da29e5591e6f7c03 /devices/src/virtio/gpu/mod.rs
parente33b55c4298c8f0d3dff7f04343e765559463d3a (diff)
downloadcrosvm-ed88b0ef5eff1845fe266b620b1866fe85ba2532.tar
crosvm-ed88b0ef5eff1845fe266b620b1866fe85ba2532.tar.gz
crosvm-ed88b0ef5eff1845fe266b620b1866fe85ba2532.tar.bz2
crosvm-ed88b0ef5eff1845fe266b620b1866fe85ba2532.tar.lz
crosvm-ed88b0ef5eff1845fe266b620b1866fe85ba2532.tar.xz
crosvm-ed88b0ef5eff1845fe266b620b1866fe85ba2532.tar.zst
crosvm-ed88b0ef5eff1845fe266b620b1866fe85ba2532.zip
devices: gpu: advertise support for capset 3
Useful for prototyping new features.

BUG=chromium:924405
TEST=compile

Change-Id: Ibdc4a70761493939ca96b92540b9e0cca88c17a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1650290
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
Auto-Submit: Gurchetan Singh <gurchetansingh@chromium.org>
Diffstat (limited to 'devices/src/virtio/gpu/mod.rs')
-rw-r--r--devices/src/virtio/gpu/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/src/virtio/gpu/mod.rs b/devices/src/virtio/gpu/mod.rs
index 0031b73..0ab83fd 100644
--- a/devices/src/virtio/gpu/mod.rs
+++ b/devices/src/virtio/gpu/mod.rs
@@ -643,7 +643,7 @@ impl Gpu {
             events_read: Le32::from(events_read),
             events_clear: Le32::from(0),
             num_scanouts: Le32::from(1),
-            num_capsets: Le32::from(2),
+            num_capsets: Le32::from(3),
         }
     }
 }