mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
drm/rockchip: cdn-dp use rockchip_drm_add_modes_noedid to get modes
use rockchip_drm_add_modes_noedid to get recommend modes when get edid failed. Change-Id: Iee9f0dc82c284654c363eaa2bb155654e51e0ba7 Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
@@ -278,6 +278,10 @@ static int cdn_dp_connector_get_modes(struct drm_connector *connector)
|
||||
if (ret)
|
||||
drm_connector_update_edid_property(connector,
|
||||
edid);
|
||||
} else {
|
||||
ret = rockchip_drm_add_modes_noedid(connector);
|
||||
|
||||
dev_info(dp->dev, "failed to get edid\n");
|
||||
}
|
||||
mutex_unlock(&dp->lock);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user