[PATCH V2 3/4] drm/v3d: Don't clear MMU control bits on exception
Maxime Ripard
maxime at cerno.tech
Wed Jan 6 15:09:29 UTC 2021
On Wed, Dec 23, 2020 at 09:35:13PM +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>
Applied, thanks!
Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210106/1f488ebb/attachment-0001.sig>
More information about the dri-devel
mailing list