sna: Increase limit on number of possible outputs

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2014-01-20 12:19:25 +00:00
parent 637e7c2186
commit 04ee452439
1 changed files with 3 additions and 2 deletions

View File

@ -838,7 +838,7 @@ sna_crtc_apply(xf86CrtcPtr crtc)
struct sna_crtc *sna_crtc = to_sna_crtc(crtc);
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(crtc->scrn);
struct drm_mode_crtc arg;
uint32_t output_ids[16];
uint32_t output_ids[32];
int output_count = 0;
int i;
@ -861,7 +861,8 @@ sna_crtc_apply(xf86CrtcPtr crtc)
(uint32_t)output->possible_crtcs,
(uint32_t)output->possible_clones));
output_ids[output_count] = to_connector_id(output);
output_count++;
if (++output_count == ARRAY_SIZE(output_ids))
return false;
}
VG_CLEAR(arg);