projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5dc175
)
drm/meson/meson_venc: Relax the supported mode checks
author
Carlo Caione
<ccaione@baylibre.com>
Mon, 13 Feb 2023 09:32:09 +0000
(10:32 +0100)
committer
Neil Armstrong
<neil.armstrong@linaro.org>
Mon, 6 Mar 2023 08:44:08 +0000
(09:44 +0100)
Relax a bit the supported modes list by including also 480x1920 and
400x1280. This was actually tested on real hardware and it works
correctly.
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/20230210-relax_dmt_limits-v2-1-318913f08121@baylibre.com
drivers/gpu/drm/meson/meson_venc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/meson/meson_venc.c
b/drivers/gpu/drm/meson/meson_venc.c
index 3c55ed0033599bb646944896ab78f0c4d07ec10f..fcd532db19c183c6283925f2f857f5ad62b0f088 100644
(file)
--- a/
drivers/gpu/drm/meson/meson_venc.c
+++ b/
drivers/gpu/drm/meson/meson_venc.c
@@
-866,10
+866,10
@@
meson_venc_hdmi_supported_mode(const struct drm_display_mode *mode)
DRM_MODE_FLAG_PVSYNC | DRM_MODE_FLAG_NVSYNC))
return MODE_BAD;
- if (mode->hdisplay <
64
0 || mode->hdisplay > 1920)
+ if (mode->hdisplay <
40
0 || mode->hdisplay > 1920)
return MODE_BAD_HVALUE;
- if (mode->vdisplay < 480 || mode->vdisplay > 1
20
0)
+ if (mode->vdisplay < 480 || mode->vdisplay > 1
92
0)
return MODE_BAD_VVALUE;
return MODE_OK;