mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 12:09:31 +00:00
gpu: enable EDID for 2D mode
... to ensure consistent phyiscal display ids when running Android with Cuttlefish across both 2D and 3D modes. BUG=b:242931783 TEST=boot Cuttlefish with 2D mode and EDID and interact with the displays Change-Id: Iba0e786464a603c7e1264625ddf619b91b9099bc Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3846059 Reviewed-by: Kaiyi Li <kaiyili@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: Jason Macnak <natsu@google.com> Commit-Queue: Jason Macnak <natsu@google.com>
This commit is contained in:
parent
d7e3f94677
commit
ea11f76234
1 changed files with 1 additions and 1 deletions
|
@ -1170,7 +1170,7 @@ impl VirtioDevice for Gpu {
|
||||||
|
|
||||||
fn features(&self) -> u64 {
|
fn features(&self) -> u64 {
|
||||||
let rutabaga_features = match self.rutabaga_component {
|
let rutabaga_features = match self.rutabaga_component {
|
||||||
RutabagaComponentType::Rutabaga2D => 0,
|
RutabagaComponentType::Rutabaga2D => 1 << VIRTIO_GPU_F_EDID,
|
||||||
_ => {
|
_ => {
|
||||||
let mut features_3d = 0;
|
let mut features_3d = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue