summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/nvhost.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/nvhost.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/nvhost.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/nvhost.c b/drivers/gpu/nvgpu/common/linux/nvhost.c
index e0f83612..94bbfd70 100644
--- a/drivers/gpu/nvgpu/common/linux/nvhost.c
+++ b/drivers/gpu/nvgpu/common/linux/nvhost.c
@@ -152,6 +152,12 @@ int nvgpu_nvhost_syncpt_read_ext_check(
152 return nvhost_syncpt_read_ext_check(nvhost_dev->host1x_pdev, id, val); 152 return nvhost_syncpt_read_ext_check(nvhost_dev->host1x_pdev, id, val);
153} 153}
154 154
155u32 nvgpu_nvhost_syncpt_read_maxval(
156 struct nvgpu_nvhost_dev *nvhost_dev, u32 id)
157{
158 return nvhost_syncpt_read_maxval(nvhost_dev->host1x_pdev, id);
159}
160
155int nvgpu_nvhost_create_symlink(struct gk20a *g) 161int nvgpu_nvhost_create_symlink(struct gk20a *g)
156{ 162{
157 struct device *dev = dev_from_gk20a(g); 163 struct device *dev = dev_from_gk20a(g);