]> git.baikalelectronics.ru Git - kernel.git/commit
gpu/drm: ingenic: Check for display size in CRTC atomic check
authorPaul Cercueil <paul@crapouillou.net>
Tue, 10 Dec 2019 14:41:41 +0000 (15:41 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Sat, 14 Dec 2019 18:26:39 +0000 (19:26 +0100)
commit4461a4150649364e617259ce60a3a0924a6f07a0
tree02ff19fab8b1ba401d41de0bed8d774cab353a04
parentd273801bb5e5528f18014622346809da7c8ee1b2
gpu/drm: ingenic: Check for display size in CRTC atomic check

Check that the requested display size isn't above the limits supported
by the CRTC.

- JZ4750 and older support up to 800x600;
- JZ4755 supports up to 1024x576;
- JZ4760 and JZ4770 support up to 720p;
- JZ4780 supports up to 2k.

v2: No change

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20191210144142.33143-5-paul@crapouillou.net
# *** extracted tags ***
Acked-by: Sam Ravnborg <sam@ravnborg.org>
drivers/gpu/drm/ingenic/ingenic-drm.c