summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_screen.h
diff options
context:
space:
mode:
authorPhilipp Zabel <[email protected]>2017-04-12 12:31:01 +0200
committerChristian Gmeiner <[email protected]>2017-04-15 01:47:18 +0200
commit36f21017237ab536db74c84e0f778d3a58271c75 (patch)
tree399a8b2a5831dc764be6a80f4eafb76db62a8d78 /src/gallium/drivers/etnaviv/etnaviv_screen.h
parent96dfc014fd33a4f38e31fa1d4c9c4ea52d85a0b8 (diff)
etnaviv: native fence fd support
This adds native fence fd support to etnaviv, similarly to commit 0b98e84e9ba0 ("freedreno: native fence fd"), enabled for kernel driver version 1.1 or later. Signed-off-by: Philipp Zabel <[email protected]> Reviewed-By: Wladimir J. van der Laan <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_screen.h')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.h b/src/gallium/drivers/etnaviv/etnaviv_screen.h
index a606e5d7080..bec740b0a00 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_screen.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_screen.h
@@ -74,6 +74,8 @@ struct etna_screen {
uint32_t features[VIV_FEATURES_WORD_COUNT];
struct etna_specs specs;
+
+ uint32_t drm_version;
};
static inline struct etna_screen *