drm/stm: drv: Improve data transfers
authorPhilippe Cornu <philippe.cornu@st.com>
Tue, 30 Jan 2018 10:42:00 +0000 (11:42 +0100)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Tue, 30 Jan 2018 10:45:15 +0000 (11:45 +0100)
commit21f815bf773c1f7dc278060eb49d7651c3175148
tree6d4ec9d251e33bfeed9095583c186313cd91c9bb
parent023f34890199dc16c6b4451fa30b7b1ced54113c
drm/stm: drv: Improve data transfers

To optimize data transfers, align pitch on 128 bytes & height
on 4 bytes. This optimization is not applicable on hw without MMU.

Signed-off-by: Yannick Fertre <yannick.fertre@st.com>
Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
Signed-off-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180130104200.21602-1-philippe.cornu@st.com
drivers/gpu/drm/stm/drv.c