Venkat Thogaru has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/72744 )
Change subject: soc/qualcomm/sc7280: Add support to configure 6bit color depth ......................................................................
soc/qualcomm/sc7280: Add support to configure 6bit color depth
Some of the eDp panels use 6bit color depth as default. Set the default color depth configuration to 6 bit when there is no match with the supported color depths.
BUG=b:255870643 TEST=Validated on sc7280 Zombie development board
Change-Id: I2cea10ad417a05f020e4c418f15212fee06a2369 Signed-off-by: Vinod Polimera quic_vpolimer@quicinc.com --- M src/soc/qualcomm/sc7280/display/edp_ctrl.c 1 file changed, 20 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/72744/1
diff --git a/src/soc/qualcomm/sc7280/display/edp_ctrl.c b/src/soc/qualcomm/sc7280/display/edp_ctrl.c index 1455cac..beedbaf 100644 --- a/src/soc/qualcomm/sc7280/display/edp_ctrl.c +++ b/src/soc/qualcomm/sc7280/display/edp_ctrl.c @@ -493,6 +493,9 @@ depth = EDP_12BIT; else if (ctrl->color_depth == 16) depth = EDP_16BIT; + else + depth = EDP_6BIT; + config |= depth << EDP_CONFIGURATION_CTRL_BPC_SHIFT;
/* Num of Lanes */