diff options
author | Aparna Das <aparnad@nvidia.com> | 2018-07-13 18:46:13 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-20 01:15:02 -0400 |
commit | 2df33e32e40eb2c8e025f8d27396d9b5cdb3ac11 (patch) | |
tree | 900f7ffe6da43c79a64e5bd46d1862dc102265d7 /drivers/gpu/nvgpu/common/enabled.c | |
parent | 3a5fd2399cabc0c268c6a3c518b698be9d08e07b (diff) |
gpu: nvgpu: do not access register in vidmem destroy
Do vidmem destroy only if get_vidmem_size HAL op is
set which will skip this for iGPU. Do not read vidmem
size explicitly in vidmem destroy in shutdown path after
prepare poweroff.
Bug 200427479
Change-Id: Ic919b03d44b5505646b449fd74f9f5d3e9e0dfee
Signed-off-by: Aparna Das <aparnad@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1776388
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Nirav Patel <nipatel@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/enabled.c')
0 files changed, 0 insertions, 0 deletions