]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Don't try to map on error faults
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 12 Feb 2020 20:22:36 +0000 (14:22 -0600)
committerRob Herring <robh@kernel.org>
Tue, 25 Feb 2020 20:16:04 +0000 (14:16 -0600)
commitb2bfdfcd99a3bd5c08526a21eb9ba63281ddd3f8
tree952fe4b5db4fcf193e13f3995c5c77593a12f172
parente922d3756e76b53e630cb26e7e121107ab7dc184
drm/panfrost: Don't try to map on error faults

If the exception type isn't a translation fault, don't try to map and
instead go straight to a terminal fault.

Otherwise, we can get flooded by kernel warnings and further faults.

Fixes: 6a8c97e79db1 ("drm/panfrost: Add support for GPU heap allocations")
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200212202236.13095-1-robh@kernel.org
drivers/gpu/drm/panfrost/panfrost_mmu.c