drm/i915/sdvo: fix panel_type initialization
authorjsg <jsg@openbsd.org>
Thu, 24 Aug 2023 06:17:19 +0000 (06:17 +0000)
committerjsg <jsg@openbsd.org>
Thu, 24 Aug 2023 06:17:19 +0000 (06:17 +0000)
From Jani Nikula
df1566ce41ee6c477e82816c10fca3d0b4291de4 in linux-6.1.y/6.1.47
2002eb6d3ea954dde9f8a223018d5335779937d0 in mainline linux

sys/dev/pci/drm/i915/display/intel_sdvo.c

index 23d40ac..fa7b47b 100644 (file)
@@ -2727,7 +2727,7 @@ static struct intel_sdvo_connector *intel_sdvo_connector_alloc(void)
        __drm_atomic_helper_connector_reset(&sdvo_connector->base.base,
                                            &conn_state->base.base);
 
-       INIT_LIST_HEAD(&sdvo_connector->base.panel.fixed_modes);
+       intel_panel_init_alloc(&sdvo_connector->base);
 
        return sdvo_connector;
 }