diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-03-17 19:17:16 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-08-08 11:03:33 +0100 |
commit | b20b8d4bc709977bf6c66fd08f3539535eaaf182 (patch) | |
tree | 21a3d5be7fca43a5385d496c21cab47ce1f7a3e0 /drivers/gpu/drm/etnaviv/etnaviv_gpu.h | |
parent | a09a4e88711b1a8bb8cb1bb825cb85a1941795c2 (diff) |
drm: etnaviv: try harder to reset the GPU at probe timedrm-etnaviv-devel
Try harder to reset the GPU at probe time by allowing the GPU to enter
runtime PM even if it indicates that it is busy. Where platforms
implement PM domains, this allows the GPU domain to be power cycled,
which can recover a hung GPU.
This can't be done in normal operation as we need to drop the mutex,
and dropping the mutex will permit GPU submissions which will keep the
GPU from idling.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_gpu.h')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_gpu.h | 1 |
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 1332802aa831..f36c75ed3470 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.h +++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.h @@ -101,6 +101,7 @@ struct etnaviv_gpu { struct mutex lock; struct etnaviv_chip_identity identity; struct etnaviv_file_private *lastctx; + bool force_rpm_idle; bool switch_context; /* 'ring'-buffer: */ |