]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx: use PRG/PRE when possible
authorLucas Stach <l.stach@pengutronix.de>
Wed, 8 Mar 2017 11:13:21 +0000 (12:13 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 16 Mar 2017 09:14:51 +0000 (10:14 +0100)
commit047f5e51f670c5d8172142c901233921f02ce6f8
treebc725d9c69a4158c7f0b4fca54b0d878b411d4d6
parentc22b3e8b9daa3424172728903664466b95374a85
drm/imx: use PRG/PRE when possible

Allow the planes to use the PRG/PRE units as linear prefetchers when
possible. This improves DRAM efficiency a bit and reduces the chance
for display underflow when the memory subsystem is under load.

This does not yet support scanning out tiled buffers directly, as this
needs more work, but it already wires up the basic interaction between
imx-drm, the IPUv3 driver and the PRG and PRE drivers.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/imx-drm-core.c
drivers/gpu/drm/imx/imx-drm.h
drivers/gpu/drm/imx/ipuv3-plane.c