mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
drm/rockchip: analogix_dp: fix the lcdc_sel config
For RK3399, the lcdc_sel should be set to corresponding id
for vopl or vopb.
Fixes: d4f217f532 ("drm/rockchip: analogix_dp: fix the log to indicate edp data source")
Change-Id: I98f5f50b32038025fe72a6d38e37fb02b011eaba
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
This commit is contained in:
@@ -420,7 +420,7 @@ static void rockchip_dp_drm_encoder_enable(struct drm_encoder *encoder,
|
||||
DRM_DEV_DEBUG(dp->dev, "%s output to edp\n", name);
|
||||
}
|
||||
|
||||
ret = rockchip_grf_field_write(dp->grf, &dp->data->lcdc_sel, ret);
|
||||
ret = rockchip_grf_field_write(dp->grf, &dp->data->lcdc_sel, endpoint.id);
|
||||
if (ret != 0)
|
||||
DRM_DEV_ERROR(dp->dev, "Could not write to GRF reg lcdc_sel: %d\n", ret);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user