mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
drm/bridge: analogix_dp: Add log to indicate panel self test mode
If the CONSOLE_LOGLEVEL_DEFAULT is over 6, there should be the related log: ...... [ 69.489746][ T300] rockchip-dp 27dc0000.edp: Enter panel self test mode ...... Change-Id: I256933ef2cff20716715c5850948a85e4c8fad07 Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
This commit is contained in:
@@ -1354,9 +1354,11 @@ static int analogix_dp_commit(struct analogix_dp_device *dp)
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (device_property_read_bool(dp->dev, "panel-self-test"))
|
||||
if (device_property_read_bool(dp->dev, "panel-self-test")) {
|
||||
dev_info(dp->dev, "Enter panel self test mode\n");
|
||||
return drm_dp_dpcd_writeb(&dp->aux, DP_EDP_CONFIGURATION_SET,
|
||||
DP_PANEL_SELF_TEST_ENABLE);
|
||||
}
|
||||
|
||||
ret = analogix_dp_train_link(dp);
|
||||
if (ret) {
|
||||
|
||||
Reference in New Issue
Block a user