]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: don't move linear memory window on 3D cores without MC2.0
authorLucas Stach <l.stach@pengutronix.de>
Thu, 21 Apr 2016 11:52:38 +0000 (13:52 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 21 Apr 2016 13:08:54 +0000 (15:08 +0200)
commit5be901747b1aadecadd970931b5026b7a01f16a5
tree75db331b1843f6b894188eb47bdb235e93a50fdd
parent29117ef53592e44617a5e92e9234f15273b7ba82
drm/etnaviv: don't move linear memory window on 3D cores without MC2.0

On cores with MC1.0 the memory window offset is not properly respected
by all engines in the core, leading to different views of the memory
if the offset in non-zero. This causes relocs for those engines to be
wrong and might lead to other subtile problems.

Rather than trying to work around this, just disable the linear memory
window offset for those cores.

Suggested-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c