mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 17:44:10 +00:00
gpu: workaround to advertise 2 graphics queues in ANV
Advertising 2 graphics queues from the same queue familiy is a hard requirement for HWUI Vulkan backend on Android 14+. BUG=b:323284290 TEST=adb shell cmd gpu vkjson show 2 queues Change-Id: Ia4c080b4e3dc4958db2d6010bcf9d9fce591d04c Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5623296 Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Lepton Wu <lepton@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
This commit is contained in:
parent
795565ac25
commit
3aaa5956e4
1 changed files with 5 additions and 0 deletions
|
@ -249,6 +249,11 @@ fn get_gpu_render_server_environment(
|
|||
}
|
||||
}
|
||||
|
||||
// TODO(b/323284290): workaround to advertise 2 graphics queues in ANV
|
||||
if !env.contains_key("ANV_QUEUE_OVERRIDE") {
|
||||
env.insert("ANV_QUEUE_OVERRIDE".to_string(), "gc=2".to_string());
|
||||
}
|
||||
|
||||
// TODO(b/237493180, b/284517235): workaround to enable ETC2/ASTC format emulation in Mesa
|
||||
// TODO(b/284361281, b/328827736): workaround to enable legacy sparse binding in RADV
|
||||
let driconf_options = [
|
||||
|
|
Loading…
Reference in a new issue