intel_extreme: use VESA EDID info as fallback.

* Only in case retrieving EDID info failed on head A and C.
* Should help with detecting the native resolution for ticket #10878.
This commit is contained in:
Axel Dörfler
2014-06-04 01:02:40 +02:00
parent 5336a8d11e
commit c1400fb617
4 changed files with 29 additions and 6 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2006-2009, Haiku, Inc. All Rights Reserved.
* Copyright 2006-2014, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
@@ -15,6 +15,8 @@
#include <Drivers.h>
#include <PCI.h>
#include <edid.h>
#define VENDOR_ID_INTEL 0x8086
@@ -201,6 +203,9 @@ struct intel_shared_info {
DeviceType device_type;
char device_identifier[32];
struct pll_info pll_info;
edid1_info vesa_edid_info;
bool has_vesa_edid_info;
};
//----------------- ioctl() interface ----------------