]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: reinstate MMUv1 command buffer window check
authorLucas Stach <l.stach@pengutronix.de>
Wed, 16 Oct 2019 14:10:21 +0000 (16:10 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 29 Oct 2019 17:11:50 +0000 (18:11 +0100)
commited82c0226554359c6baffbbf3952d625f2f4acf5
treee7c33f9da4bcea85a52a8a2dae9880f04f366e3f
parentc2d9bd992500b066970e8864300260d6bfb603aa
drm/etnaviv: reinstate MMUv1 command buffer window check

The switch to per-process address spaces erroneously dropped the check
which validated that the command buffer is mapped through the linear
apperture as required by the hardware. This turned a system
misconfiguration with a helpful error message into a very hard to
debug issue. Reinstate the check at the appropriate location.

Fixes: 204f23cd3e78 (drm/etnaviv: implement per-process address spaces on MMUv2)
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
drivers/gpu/drm/etnaviv/etnaviv_mmu.c