diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/enabled.h | 4 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/nvhost.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/enabled.h b/drivers/gpu/nvgpu/include/nvgpu/enabled.h index e6f9525d..a3d9df24 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/enabled.h +++ b/drivers/gpu/nvgpu/include/nvgpu/enabled.h | |||
@@ -157,11 +157,13 @@ struct gk20a; | |||
157 | 157 | ||
158 | /* GPU_VA address of a syncpoint is supported */ | 158 | /* GPU_VA address of a syncpoint is supported */ |
159 | #define NVGPU_SUPPORT_SYNCPOINT_ADDRESS 65 | 159 | #define NVGPU_SUPPORT_SYNCPOINT_ADDRESS 65 |
160 | /* Allocating per-channel syncpoint in user space is supported */ | ||
161 | #define NVGPU_SUPPORT_USER_SYNCPOINT 66 | ||
160 | 162 | ||
161 | /* | 163 | /* |
162 | * Must be greater than the largest bit offset in the above list. | 164 | * Must be greater than the largest bit offset in the above list. |
163 | */ | 165 | */ |
164 | #define NVGPU_MAX_ENABLED_BITS 66 | 166 | #define NVGPU_MAX_ENABLED_BITS 67 |
165 | 167 | ||
166 | /** | 168 | /** |
167 | * nvgpu_is_enabled - Check if the passed flag is enabled. | 169 | * nvgpu_is_enabled - Check if the passed flag is enabled. |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/nvhost.h b/drivers/gpu/nvgpu/include/nvgpu/nvhost.h index 6e92637a..cb70f436 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/nvhost.h +++ b/drivers/gpu/nvgpu/include/nvgpu/nvhost.h | |||
@@ -50,6 +50,8 @@ void nvgpu_nvhost_syncpt_set_min_eq_max_ext(struct nvgpu_nvhost_dev *nvhost_dev, | |||
50 | u32 id); | 50 | u32 id); |
51 | int nvgpu_nvhost_syncpt_read_ext_check(struct nvgpu_nvhost_dev *nvhost_dev, | 51 | int nvgpu_nvhost_syncpt_read_ext_check(struct nvgpu_nvhost_dev *nvhost_dev, |
52 | u32 id, u32 *val); | 52 | u32 id, u32 *val); |
53 | u32 nvgpu_nvhost_syncpt_read_maxval(struct nvgpu_nvhost_dev *nvhost_dev, | ||
54 | u32 id); | ||
53 | 55 | ||
54 | int nvgpu_nvhost_intr_register_notifier(struct nvgpu_nvhost_dev *nvhost_dev, | 56 | int nvgpu_nvhost_intr_register_notifier(struct nvgpu_nvhost_dev *nvhost_dev, |
55 | u32 id, u32 thresh, void (*callback)(void *, int), void *private_data); | 57 | u32 id, u32 thresh, void (*callback)(void *, int), void *private_data); |