OSDN Git Service

msm: kgsl: unload/reload zap shader
authorThomas Yun <wyun@codeaurora.org>
Tue, 17 Jul 2018 18:07:39 +0000 (14:07 -0400)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 27 Jul 2018 18:35:17 +0000 (11:35 -0700)
commitfcff8d4b117e1d31da5b2cf2f0684ecb72cd5e94
tree43efc90fda8c1d3ab8765186aa6b5ac4ca39db1e
parent1414afe1cfaa8009c2898fb0522ab6e475ccdd99
msm: kgsl: unload/reload zap shader

Unload zap shader during device hibernation and reload it
during resume otherwise scm calls during post hibernation
GPU initialization will fail as there is possibility that
TZ driver is not aware of the hibernation.

Change-Id: I1f62fb97cbc8e6c3e3536d4d5260a543ca15b685
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
Signed-off-by: Thomas Yun <wyun@codeaurora.org>
drivers/gpu/msm/adreno.c
drivers/gpu/msm/adreno.h
drivers/gpu/msm/adreno_a5xx.c
drivers/gpu/msm/kgsl.c
drivers/gpu/msm/kgsl_device.h