diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-31 19:44:50 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-31 20:48:24 +0100 |
commit | 8ecb758697af42e8e68edee0d1945986470a9c04 (patch) | |
tree | 712c58bd6662dad6766fed7f6c1aa61e30135a2c /src/sna/sna.h | |
parent | 57904e8d3d1deef33dd5515f3179b4d60c912712 (diff) |
sna: Expand the array of fake outputs if the last is used
Always maintain one spare so that we can reconfigure for any number of
desired outputs on the fly.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index 298883c8..c47a8ab2 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -265,6 +265,10 @@ struct sna { DamagePtr shadow_damage; struct kgem_bo *shadow; int shadow_flip; + + unsigned num_real_crtc; + unsigned num_real_output; + unsigned num_fake; } mode; struct sna_dri { |