From ed88b0ef5eff1845fe266b620b1866fe85ba2532 Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Thu, 6 Jun 2019 17:34:07 -0700 Subject: 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 Tested-by: kokoro Reviewed-by: Zach Reizner Commit-Queue: Gurchetan Singh Auto-Submit: Gurchetan Singh --- devices/src/virtio/gpu/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devices/src/virtio/gpu/mod.rs') 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), } } } -- cgit 1.4.1