summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/etnaviv/etnaviv_gpu.h
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2023-06-07 16:02:23 +0300
committerLucas Stach <l.stach@pengutronix.de>2023-07-17 12:32:34 +0300
commit9ec2afde83c18e205b6c38335b5e6bedf913ba76 (patch)
tree8df20a39123496676e66f382f140b9f26616c5fc /drivers/gpu/drm/etnaviv/etnaviv_gpu.h
parente116be254aaa257d6bec534a39b26513c1798074 (diff)
downloadlinux-9ec2afde83c18e205b6c38335b5e6bedf913ba76.tar.xz
drm/etnaviv: expedited MMU fault handling
The GPU is halted when it hits a MMU exception, so there is no point in waiting for the job timeout to expire or try to work out if the GPU is still making progress in the timeout handler, as we know that the GPU won't make any more progress. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_gpu.h')
-rw-r--r--drivers/gpu/drm/etnaviv/etnaviv_gpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.h b/drivers/gpu/drm/etnaviv/etnaviv_gpu.h
index 85c669dba88e..197e0037732e 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.h
+++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.h
@@ -101,6 +101,7 @@ enum etnaviv_gpu_state {
ETNA_GPU_STATE_RESET,
ETNA_GPU_STATE_INITIALIZED,
ETNA_GPU_STATE_RUNNING,
+ ETNA_GPU_STATE_FAULT,
};
struct etnaviv_gpu {