OSDN Git Service

drm/stm: check pitch and size calculations even if !CONFIG_MMU
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Wed, 31 Jan 2018 08:05:08 +0000 (09:05 +0100)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Fri, 23 Feb 2018 08:37:12 +0000 (09:37 +0100)
commit879659bb87a87a7a23b190e211d33bdd6763c746
treec3745562ffb73f02b6e05113a1b220f4b79b8b76
parentfd9b503dec9b533afa49ac105ce65f87419b5528
drm/stm: check pitch and size calculations even if !CONFIG_MMU

In all cases we have to check pitch and size calculations to speed up
data transfer.

Fixes: 21f815bf773c ("drm/stm: drv: Improve data transfers")

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Tested-by: Philippe Cornu <philippe.cornu@st.com>
Reviewed-by: Philippe Cornu <philippe.cornu@st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180131080508.14356-1-benjamin.gaignard@linaro.org
drivers/gpu/drm/stm/drv.c