diff options
| author | Jonathan Wicks <jwicks@codeaurora.org> | 2017-02-24 16:21:26 -0700 |
|---|---|---|
| committer | Jonathan Wicks <jwicks@codeaurora.org> | 2017-02-28 11:12:33 -0700 |
| commit | 2e560ec3d03229a6654843757207d0a070dfde68 (patch) | |
| tree | 9f6c5ae2c96fb75fe733c4b08d9ece16b8a24da2 /include/uapi/linux | |
| parent | 98094e2149dad0658346d504edde8aac9a921500 (diff) | |
msm: kgsl: Map GPU QTimer through GPU IOMMU
Map the GPU QTimer area as a global into the GPU
IOMMU so that the GPU can access the QTimer.
Change-Id: If50bd36681123adde7e3a37644c41316f101154c
Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/msm_kgsl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_kgsl.h b/include/uapi/linux/msm_kgsl.h index 71fdf6d6e9e5..843e02711aa7 100644 --- a/include/uapi/linux/msm_kgsl.h +++ b/include/uapi/linux/msm_kgsl.h @@ -318,6 +318,7 @@ enum kgsl_timestamp_type { #define KGSL_PROP_HIGHEST_BANK_BIT 0x17 #define KGSL_PROP_DEVICE_BITNESS 0x18 #define KGSL_PROP_DEVICE_QDSS_STM 0x19 +#define KGSL_PROP_DEVICE_QTIMER 0x20 struct kgsl_shadowprop { unsigned long gpuaddr; @@ -330,6 +331,11 @@ struct kgsl_qdss_stm_prop { uint64_t size; }; +struct kgsl_qtimer_prop { + uint64_t gpuaddr; + uint64_t size; +}; + struct kgsl_version { unsigned int drv_major; unsigned int drv_minor; |
