@@ -2588,6 +2588,7 @@ sna_output_init(ScrnInfoPtr scrn, struct sna_mode *mode, int num)
struct sna *sna = to_sna(scrn);
xf86OutputPtr output;
struct drm_mode_get_connector conn;
+ int enc_protect[16];
struct drm_mode_get_encoder enc;
struct drm_mode_modeinfo dummy;
struct sna_output *sna_output;
@@ -2600,6 +2601,7 @@ sna_output_init(ScrnInfoPtr scrn, struct sna_mode *mode, int num)
VG_CLEAR(conn);
VG_CLEAR(enc);
+ &enc_protect;
conn.connector_id = mode->kmode->connectors[num];
conn.count_props = 0;