summaryrefslogtreecommitdiff
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2020-12-16 12:42:01 +0100
committerLucas Stach <l.stach@pengutronix.de>2021-01-22 12:33:57 +0100
commit1ff79a4a49c239dedd67a12a16a8c3a8b53cf838 (patch)
tree8a5d684c5266e2f0da692dc348ddd53433b424bc /include/uapi/drm
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
drm/etnaviv: provide more ID values via GET_PARAM ioctl.
Make it possible for the user space to access these ID values. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r--include/uapi/drm/etnaviv_drm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/drm/etnaviv_drm.h b/include/uapi/drm/etnaviv_drm.h
index 09d0df8b71c5..af024d90453d 100644
--- a/include/uapi/drm/etnaviv_drm.h
+++ b/include/uapi/drm/etnaviv_drm.h
@@ -74,6 +74,9 @@ struct drm_etnaviv_timespec {
#define ETNAVIV_PARAM_GPU_NUM_CONSTANTS 0x19
#define ETNAVIV_PARAM_GPU_NUM_VARYINGS 0x1a
#define ETNAVIV_PARAM_SOFTPIN_START_ADDR 0x1b
+#define ETNAVIV_PARAM_GPU_PRODUCT_ID 0x1c
+#define ETNAVIV_PARAM_GPU_CUSTOMER_ID 0x1d
+#define ETNAVIV_PARAM_GPU_ECO_ID 0x1e
#define ETNA_MAX_PIPES 4