]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: verify that display x-res is divisible by 8
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 5 Jan 2016 09:43:18 +0000 (11:43 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 3 Mar 2016 15:36:43 +0000 (17:36 +0200)
commit79d1d4b09ea4eef7cbdb87f6074fa68205f9ad17
treeff03e1f2ccfe3fb2f758978d9ae4832acde133bc
parent598a8b5b19aad086f3731924d48ae0c2714319da
drm/omap: verify that display x-res is divisible by 8

DISPC requires the x resolution to be divisible by 8 when stall mode is
not used.

Add a check to the DPI driver to verify this.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/dss/dpi.c