[PATCH V2 3/4] drm/v3d: Don't clear MMU control bits on exception

Nicolas Saenz Julienne nsaenzjulienne at suse.de
Thu Dec 24 13:59:27 UTC 2020


On Wed, 2020-12-23 at 21:35 +0100, Stefan Wahren wrote:
> From: Phil Elwell <phil at raspberrypi.org>
> 
> MMU exception conditions are reported in the V3D_MMU_CTRL register as
> write-1-to-clear (W1C) bits. The MMU interrupt handling code clears any
> exceptions, but does so by masking out any other bits and writing the
> result back. There are some important control bits in that register,
> including MMU_ENABLE, so a safer approach is to simply write back the
> value just read unaltered.
> 
> Signed-off-by: Phil Elwell <phil at raspberrypi.org>
> Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
> ---

Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>

Regards,
Nicolas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20201224/d36d865f/attachment-0001.sig>


More information about the dri-devel mailing list