summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gr_gk20a.c
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-12-12 18:07:50 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-12-14 00:23:11 -0500
commit1bf9b91c05ceebf872171a536c2660ee69fa5f64 (patch)
tree6d9a295ef801dbd1d3dfd88f2b01593ee14675e5 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c
parentb92a6bdbf51da0d071fc11146258ca6a80e2b9d7 (diff)
gpu: nvgpu: gv11b: get syncpt aperture only if host1x is present
nvgpu_get_nvhost_dev will not return error if host1x field within gv11b device tree is not present. It will just set has_syncpoints in gk20a struct to false. syncpt_unit_interface* should be called only if g->has_syncpoints is set to true. Change-Id: Id1eb94aba4cff1942ad519f528ebdb8291963971 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1615973 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
0 files changed, 0 insertions, 0 deletions