summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_screen.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-04-14 09:39:52 +0200
committerChristian Gmeiner <[email protected]>2017-04-15 00:34:03 +0200
commit9e4d049f402af93dafe55865dcfd87c96659b7ba (patch)
treea523cbdceaf25f023bddbf5d93dfa80bc83d7f38 /src/gallium/drivers/etnaviv/etnaviv_screen.h
parentdda956340ce9f7d04866eb6909455f24fae94724 (diff)
etnaviv: Add chipMinorFeatures4 and 5
Request chipMinorFeatures bitfields 4 and 5 from the drm driver. Signed-off-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.h b/src/gallium/drivers/etnaviv/etnaviv_screen.h
index c33a9e32fab..a606e5d7080 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_screen.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_screen.h
@@ -44,6 +44,8 @@ enum viv_features_word {
viv_chipMinorFeatures1 = 2,
viv_chipMinorFeatures2 = 3,
viv_chipMinorFeatures3 = 4,
+ viv_chipMinorFeatures4 = 5,
+ viv_chipMinorFeatures5 = 6,
VIV_FEATURES_WORD_COUNT /* Must be last */
};
@@ -69,7 +71,7 @@ struct etna_screen {
uint32_t model;
uint32_t revision;
- uint32_t features[5];
+ uint32_t features[VIV_FEATURES_WORD_COUNT];
struct etna_specs specs;
};