diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2009-02-27 09:02:30 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2009-03-02 15:20:27 +0800 |
commit | 55359ef9ab0a2be42a55e0279835f76a191d6c74 (patch) | |
tree | da795c690993deb292732c4064e9f69f015ded08 /src | |
parent | 38a7683561cee7fffab174c2a166bfd51b51ba27 (diff) |
Update driver feature block definition for missed fields
Diffstat (limited to 'src')
-rw-r--r-- | src/bios_reader/bios_reader.c | 4 | ||||
-rw-r--r-- | src/i830_bios.h | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/bios_reader/bios_reader.c b/src/bios_reader/bios_reader.c index 41908a3c..fc518214 100644 --- a/src/bios_reader/bios_reader.c +++ b/src/bios_reader/bios_reader.c @@ -416,6 +416,10 @@ static void dump_driver_feature(void) printf("Embedded DisplayPort\n"); break; } + printf("\tDefine Display statically: %s\n", YESNO(feature->static_display)); + printf("\tLegacy CRT max X: %d\n", feature->legacy_crt_max_x); + printf("\tLegacy CRT max Y: %d\n", feature->legacy_crt_max_y); + printf("\tLegacy CRT max refresh: %d\n", feature->legacy_crt_max_refresh); free(block); } diff --git a/src/i830_bios.h b/src/i830_bios.h index ec8bd8fc..78af830c 100644 --- a/src/i830_bios.h +++ b/src/i830_bios.h @@ -428,6 +428,12 @@ struct bdb_driver_feature { uint16_t crt_hotplug:1; uint16_t lvds_config:2; uint16_t reserved:3; + + uint8_t static_display:1; + uint8_t reserved2:7; + uint16_t legacy_crt_max_x; + uint16_t legacy_crt_max_y; + uint8_t legacy_crt_max_refresh; } __attribute__((packed)); #ifndef REG_DUMPER |