Files
linux-nvgpu/drivers/gpu/nvgpu/gk20a
Deepak Nibade a76c6fc950 gpu: nvgpu: prepare_poweroff() in shutdown()
gk20a_pm_shutdown() is the last callback before
GPU railgate will be forced by platform code

Hence we need to call prepare_poweroff() before
returning from shutdown() to clean up below things
mainly,

1. disable interrupts to ensure that GPU is not
   processing any interrupts while railgating

2. disable clocks (and related flags) to ensure
   no h/w access from exported clock ops

Note that GPU railgate will be triggered by platform
code since config CONFIG_PM_GENERIC_DOMAINS_OF is
enabled by default

Bug 200123584

Change-Id: Ifaa0d1ba9b01d49bf5cc85d9c9a9feb3815866d8
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/770485
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2015-07-22 02:23:25 -07:00
..
2015-07-03 19:00:22 -07:00
2015-03-18 12:10:40 -07:00
2015-06-06 07:24:52 -07:00
2015-07-03 17:59:12 -07:00
2015-03-18 12:08:53 -07:00
2015-04-04 19:01:35 -07:00
2015-03-18 12:08:53 -07:00
2015-04-04 18:57:49 -07:00
2015-03-18 12:10:40 -07:00
2015-03-18 12:12:25 -07:00