summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/video/tegra/dc/hdmi.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/video/tegra/dc/hdmi.c b/drivers/video/tegra/dc/hdmi.c
index 85a5d63e9326..d8e2a1e656f0 100644
--- a/drivers/video/tegra/dc/hdmi.c
+++ b/drivers/video/tegra/dc/hdmi.c
@@ -1278,8 +1278,9 @@ static bool tegra_dc_hdmi_valid_asp_ratio(const struct tegra_dc *dc,
(abs(m_aspratio - s_aspratio) == 1))
return true;
}
-
- return false;
+ dev_warn(&dc->ndev->dev, "Unusuall display aspect ratio. \
+ You may encounter problems with base resolution\n");
+ return true;
}
@@ -1309,7 +1310,7 @@ static bool tegra_dc_hdmi_mode_filter(const struct tegra_dc *dc,
/* Check some of DC's constraints */
if (mode->hsync_len > 1 && mode->vsync_len > 1 &&
mode->lower_margin + mode->vsync_len + mode->upper_margin > 1 &&
- mode->xres >= 16 && mode->yres >= 16) {
+ mode->xres >= 256 && mode->yres >= 256) {
if (mode->lower_margin == 1) {
/* This might be the case for HDMI<->DVI