From: jsg Date: Thu, 24 Aug 2023 06:17:19 +0000 (+0000) Subject: drm/i915/sdvo: fix panel_type initialization X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0baac13355d049417c344c89229119657587473a;p=openbsd drm/i915/sdvo: fix panel_type initialization From Jani Nikula df1566ce41ee6c477e82816c10fca3d0b4291de4 in linux-6.1.y/6.1.47 2002eb6d3ea954dde9f8a223018d5335779937d0 in mainline linux --- diff --git a/sys/dev/pci/drm/i915/display/intel_sdvo.c b/sys/dev/pci/drm/i915/display/intel_sdvo.c index 23d40ac80d0..fa7b47b3718 100644 --- a/sys/dev/pci/drm/i915/display/intel_sdvo.c +++ b/sys/dev/pci/drm/i915/display/intel_sdvo.c @@ -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; }