Hello Nicolas Boichat,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/46580
to review the following change.
Change subject: HACK: skip reading EDID completely
......................................................................
HACK: skip reading EDID completely
Something goes terribly wrong when reading the EDID, and ANX7625
does not seem to be able to recover from it.
BUG=b:155713214
TEST=boot asurada
Change-Id: I2230af30b709667f9858f6144b14681686003f28
---
M src/drivers/analogix/anx7625/anx7625.c
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/46580/1
diff --git a/src/drivers/analogix/anx7625/anx7625.c b/src/drivers/analogix/anx7625/anx7625.c
index eb7e661..e3f969c 100644
--- a/src/drivers/analogix/anx7625/anx7625.c
+++ b/src/drivers/analogix/anx7625/anx7625.c
@@ -854,7 +854,9 @@
int ret;
u8 edid[FOUR_BLOCK_SIZE];
- block_num = sp_tx_edid_read(bus, edid, FOUR_BLOCK_SIZE);
+ /* Something goes terribly wrong here, and ANX7625 does not seem to be able to recover from it. */
+ if (0)
+ block_num = sp_tx_edid_read(bus, edid, FOUR_BLOCK_SIZE);
block_num=1;
memcpy(edid, &edp_edid, sizeof(edp_edid));
--
To view, visit https://review.coreboot.org/c/coreboot/+/46580
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I2230af30b709667f9858f6144b14681686003f28
Gerrit-Change-Number: 46580
Gerrit-PatchSet: 1
Gerrit-Owner: yongqiang niu <yongqiang.niu(a)mediatek.com>
Gerrit-Reviewer: Nicolas Boichat <drinkcat(a)chromium.org>
Gerrit-MessageType: newchange
Hello Nicolas Boichat,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/46583
to review the following change.
Change subject: HACK: Enable display backlight
......................................................................
HACK: Enable display backlight
Change the polarity so that the backlight is at maximum.
BUG=b:155713214
TEST=boot asurada
Change-Id: I058af933e59be84cca77ea15b668be6efcc6539d
---
M src/mainboard/google/asurada/mainboard.c
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/46583/1
diff --git a/src/mainboard/google/asurada/mainboard.c b/src/mainboard/google/asurada/mainboard.c
index 30e98e8..56ecc9e 100644
--- a/src/mainboard/google/asurada/mainboard.c
+++ b/src/mainboard/google/asurada/mainboard.c
@@ -56,8 +56,8 @@
/* Set up backlight control pins as output pin and power-off by default */
static void configure_panel_backlight(void)
{
- gpio_output(GPIO(KPROW1), 0);
- gpio_output(GPIO(DISP_PWM), 0);
+ gpio_output(GPIO(KPROW1), 1);
+ gpio_output(GPIO(DISP_PWM), 1);
}
static void power_on_panel(struct panel_description *panel)
--
To view, visit https://review.coreboot.org/c/coreboot/+/46583
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I058af933e59be84cca77ea15b668be6efcc6539d
Gerrit-Change-Number: 46583
Gerrit-PatchSet: 1
Gerrit-Owner: yongqiang niu <yongqiang.niu(a)mediatek.com>
Gerrit-Reviewer: Nicolas Boichat <drinkcat(a)chromium.org>
Gerrit-MessageType: newchange