summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHung-Te Lin <hungte@chromium.org>2019-08-13 12:19:00 +0800
committerJulius Werner <jwerner@chromium.org>2019-08-15 03:04:26 +0000
commitb1af16a4242d42feb0150c3a8c6fef41c75961d9 (patch)
treeab65ab6b91c9824956192718638ca90d49691e42 /src
parent6673e8ec6aa2eb558116a8ca000c3151ecb9eda2 (diff)
mb/google/kukui: Report panel manufacturer name
The src/lib/edid now supports reporting manufacturer name so we should define that in MIPI panels and print out in initialization. BUG=None TEST=emerge-kukui coreboot; boots properly Change-Id: If844da84ecca31307127b14c66bbe17c408699f3 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34853 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/kukui/mainboard.c5
-rw-r--r--src/mainboard/google/kukui/panel_kodama.c1
-rw-r--r--src/mainboard/google/kukui/panel_krane.c2
-rw-r--r--src/mainboard/google/kukui/panel_kukui.c3
4 files changed, 8 insertions, 3 deletions
diff --git a/src/mainboard/google/kukui/mainboard.c b/src/mainboard/google/kukui/mainboard.c
index 7bf2580751..9f90b0f230 100644
--- a/src/mainboard/google/kukui/mainboard.c
+++ b/src/mainboard/google/kukui/mainboard.c
@@ -108,8 +108,9 @@ static struct panel_description *get_active_panel(void)
const char *name = panel->edid.ascii_string;
if (name[0] == '\0')
name = "unknown name";
- printk(BIOS_INFO, "%s: Found ID %d: '%s' %s\n", __func__,
- panel_id, name, mode_name ? mode_name : "(unknown mode)");
+ printk(BIOS_INFO, "%s: Found ID %d: '%s %s' %s\n", __func__,
+ panel_id, panel->edid.manufacturer_name, name,
+ mode_name ? mode_name : "(unknown mode)");
return panel;
}
diff --git a/src/mainboard/google/kukui/panel_kodama.c b/src/mainboard/google/kukui/panel_kodama.c
index 15e46a4b82..8f7ef2b4e8 100644
--- a/src/mainboard/google/kukui/panel_kodama.c
+++ b/src/mainboard/google/kukui/panel_kodama.c
@@ -18,6 +18,7 @@
static struct panel_description BOE_TV101WUM_N53 = {
.edid = {
.ascii_string = "TV101WUM-N53",
+ .manufacturer_name = "BOE",
.panel_bits_per_color = 8,
.panel_bits_per_pixel = 24,
.mode = {
diff --git a/src/mainboard/google/kukui/panel_krane.c b/src/mainboard/google/kukui/panel_krane.c
index ad06f39277..0562820872 100644
--- a/src/mainboard/google/kukui/panel_krane.c
+++ b/src/mainboard/google/kukui/panel_krane.c
@@ -18,6 +18,7 @@
static struct panel_description AUO_KD101N80_45NA = {
.edid = {
.ascii_string = "KD101N80-45NA",
+ .manufacturer_name = "AUO",
.panel_bits_per_color = 8,
.panel_bits_per_pixel = 24,
.mode = {
@@ -45,6 +46,7 @@ static struct panel_description AUO_KD101N80_45NA = {
static struct panel_description BOE_TV101WUM_NL6 = {
.edid = {
.ascii_string = "TV101WUM-NL6",
+ .manufacturer_name = "BOE",
.panel_bits_per_color = 8,
.panel_bits_per_pixel = 24,
.mode = {
diff --git a/src/mainboard/google/kukui/panel_kukui.c b/src/mainboard/google/kukui/panel_kukui.c
index eb2f228b69..a1541853f2 100644
--- a/src/mainboard/google/kukui/panel_kukui.c
+++ b/src/mainboard/google/kukui/panel_kukui.c
@@ -39,7 +39,8 @@ static void power_on_ssd2858(void)
static struct panel_description P097PFG_SSD2858 = {
.power_on = power_on_ssd2858,
.edid = {
- .ascii_string = "CMN P097PFG",
+ .ascii_string = "P097PFG",
+ .manufacturer_name = "CMN",
.panel_bits_per_color = 8,
.panel_bits_per_pixel = 24,
.mode = {