diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2020-03-03 05:28:42 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2020-03-16 23:11:20 -0400 |
commit | 505251d6969d8305629d122d0afbef5e520ddd5b (patch) | |
tree | 5b107391d056dc01d8f8a0fbb7afd115e20d0c05 /drivers/gpu/nvgpu/common/ecc.c | |
parent | bb2c8ef511763d9f61f7e3b4bbfa7a27b9d5c2b6 (diff) |
gpu: nvgpu: make debugger register access ELPG protected
Some of the APIs that access debugger register are not protected
from ELPG. This might trigger PRI access timeouts for corresponding
registers if GR engine is power gated.
Add gr_gk20a_elpg_protected_call() to protect against ELPG.
Bug 2820066
Change-Id: I467ea28aaea1c0e36c2d6aabce6a2daea6ee9911
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2306383
(cherry picked from commit 0c0eb25ee798db3a8dcd8cab7db06312a220240e)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2313210
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/ecc.c')
0 files changed, 0 insertions, 0 deletions