Several pieces of code depend on OUT_DP being set.
OUT_NVSR_DP should also be set in these places.
Change-Id: Iee54050b6ce1f756a7ae4631005f6e23618f08df
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/384174
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>
#else
pclk = KHZ2PICOS(150000); /* 150MHz max */
#endif
- } else if (dc->out->type == TEGRA_DC_OUT_DP) {
+ } else if ((dc->out->type == TEGRA_DC_OUT_DP) ||
+ (dc->out->type == TEGRA_DC_OUT_NVSR_DP)) {
if (dc->mode.pclk)
pclk = KHZ2PICOS(dc->mode.pclk / 1000);
else
break;
case TEGRA_DC_OUT_DP:
+ case TEGRA_DC_OUT_NVSR_DP:
return tegra_dc_set_fb_mode(dc, &tegra_dc_vga_mode, 0);
/* Do nothing for other outputs for now */
tegra_dc_writel(dc, mode->h_sync_width | (v_sync_width << 16),
DC_DISP_SYNC_WIDTH);
if ((dc->out->type == TEGRA_DC_OUT_DP) ||
+ (dc->out->type == TEGRA_DC_OUT_NVSR_DP) ||
(dc->out->type == TEGRA_DC_OUT_LVDS)) {
tegra_dc_writel(dc, mode->h_back_porch |
((v_back_porch - mode->v_ref_to_sync) << 16),