diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2014-11-05 10:18:28 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:12:17 -0400 |
commit | 28f4e53e74e8ca93f59780167552db805b1da5c6 (patch) | |
tree | e3e93857144b4445845f033b43a60096e0addca9 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |
parent | e22d0082ec96864c0689848945f6c41a5f1419af (diff) |
gpu: nvgpu: l2 invalidate/flush for off devices
When doing l2 invalidate or l2 flush, first check if the hw is powered
on. If it is not, nothing is done, as there are no hardware registers
available. As a side-effect, this may race so that the hardware stays
unrailgated.
Change-Id: I8bdbfcee3545355435d4ae01476188eb1b8b8817
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/594441
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
0 files changed, 0 insertions, 0 deletions