From 8ecb758697af42e8e68edee0d1945986470a9c04 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 31 Aug 2013 19:44:50 +0100 Subject: 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 --- src/sna/sna.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sna/sna.h') 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 { -- cgit v1.2.3