summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2009-02-25 09:54:03 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2009-02-25 09:54:03 +0800
commit8718551f14e064b461e80a583597f0ea9fb8ca9f (patch)
treecd16e228b4e1fdac444af2bf1e7bcf1111674505
parent9d8e5c21a1688b915bf39261d4c3b0bf2906daef (diff)
Update LVDS config bits definition in driver feature block
ALL_LVDS is actually not defined before and include GM45. Embedded DP bit will be used for newer chips.
-rw-r--r--src/bios_reader/bios_reader.c6
-rw-r--r--src/i830_bios.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/bios_reader/bios_reader.c b/src/bios_reader/bios_reader.c
index db8f3645..2b98e1f0 100644
--- a/src/bios_reader/bios_reader.c
+++ b/src/bios_reader/bios_reader.c
@@ -404,14 +404,14 @@ static void dump_driver_feature(void)
case BDB_DRIVER_NO_LVDS:
printf("No LVDS\n");
break;
- case BDB_DRIVER_INTER_LVDS:
+ case BDB_DRIVER_INT_LVDS:
printf("Integrated LVDS\n");
break;
case BDB_DRIVER_SDVO_LVDS:
printf("SDVO LVDS\n");
break;
- case BDB_DRIVER_ALL_LVDS:
- printf("Both Integrated LVDS and SDVO LVDS\n");
+ case BDB_DRIVER_EDP:
+ printf("Embedded DisplayPort\n");
break;
}
free(block);
diff --git a/src/i830_bios.h b/src/i830_bios.h
index 2dcc092f..ec8bd8fc 100644
--- a/src/i830_bios.h
+++ b/src/i830_bios.h
@@ -396,9 +396,9 @@ struct vch_bdb_22 {
} __attribute__((packed));
#define BDB_DRIVER_NO_LVDS 0
-#define BDB_DRIVER_INTER_LVDS 1
+#define BDB_DRIVER_INT_LVDS 1
#define BDB_DRIVER_SDVO_LVDS 2
-#define BDB_DRIVER_ALL_LVDS 3
+#define BDB_DRIVER_EDP 3
struct bdb_driver_feature {
uint8_t boot_dev_algorithm:1;