History

drm/etnaviv: add further minor features and varyings count

Export further minor feature bitmasks and the varyings count from the GPU specifications registers to userspace.

Russell King committed 10 years ago

Commit 602eb481 parent 472f79d3 files · +73 −1Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/drm/etnaviv_drm.h+3−0
@@ -48,6 +48,8 @@ struct drm_etnaviv_timespec { · 47 unmodified lines
4848 #define ETNAVIV_PARAM_GPU_FEATURES_2 0x05
4949 #define ETNAVIV_PARAM_GPU_FEATURES_3 0x06
5050 #define ETNAVIV_PARAM_GPU_FEATURES_4 0x07
51+#define ETNAVIV_PARAM_GPU_FEATURES_5 0x08
52+#define ETNAVIV_PARAM_GPU_FEATURES_6 0x09
5153
5254 #define ETNAVIV_PARAM_GPU_STREAM_COUNT 0x10
5355 #define ETNAVIV_PARAM_GPU_REGISTER_MAX 0x11
@@ -59,6 +61,7 @@ struct drm_etnaviv_timespec { · 5 unmodified lines
5961 #define ETNAVIV_PARAM_GPU_BUFFER_SIZE 0x17
6062 #define ETNAVIV_PARAM_GPU_INSTRUCTION_COUNT 0x18
6163 #define ETNAVIV_PARAM_GPU_NUM_CONSTANTS 0x19
64+#define ETNAVIV_PARAM_GPU_NUM_VARYINGS 0x1a
6265
6366 #define ETNA_MAX_PIPES 4
6467