summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2014-11-05 10:18:28 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:12:17 -0400
commit28f4e53e74e8ca93f59780167552db805b1da5c6 (patch)
treee3e93857144b4445845f033b43a60096e0addca9 /drivers/gpu/nvgpu/gm20b/gr_gm20b.c
parente22d0082ec96864c0689848945f6c41a5f1419af (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/gm20b/gr_gm20b.c')
0 files changed, 0 insertions, 0 deletions