diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-05-06 12:24:37 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-05-06 12:28:24 +0100 |
commit | 632d3dfe215c38f2dd052625ea8ec34582dfafef (patch) | |
tree | 1fa1fd8149be8ab379c38301a66f0a4033de69a3 /src/sna/sna.h | |
parent | f62dfd8f518bb4117d395f81b684340dc4f1ede5 (diff) |
sna: Treat encoder id array as invariant
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index 06ddaabb..75a0e36c 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -283,8 +283,11 @@ struct sna { unsigned num_real_crtc; unsigned num_real_output; + unsigned num_real_encoder; unsigned num_fake; unsigned serial; + + uint32_t *encoders; } mode; struct { |