Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3ABFDC77B6E for ; Fri, 14 Apr 2023 15:00:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D953A10ED75; Fri, 14 Apr 2023 15:00:36 +0000 (UTC) Received: from mblankhorst.nl (lankhorst.se [141.105.120.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4031D10ED75 for ; Fri, 14 Apr 2023 15:00:34 +0000 (UTC) From: Maarten Lankhorst To: intel-xe@lists.freedesktop.org Date: Fri, 14 Apr 2023 17:00:25 +0200 Message-Id: <20230414150025.492558-1-maarten.lankhorst@linux.intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Intel-xe] [PATCH] drm/xe: Add missing spin_lock_inits for display X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" We have gained 2 locks, better init those. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/xe/xe_display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/xe/xe_display.c b/drivers/gpu/drm/xe/xe_display.c index aae362f27c77..719a64005e29 100644 --- a/drivers/gpu/drm/xe/xe_display.c +++ b/drivers/gpu/drm/xe/xe_display.c @@ -91,6 +91,8 @@ int xe_display_create(struct xe_device *xe) int err; spin_lock_init(&xe->display.fb_tracking.lock); + spin_lock_init(&xe->display.dkl.phy_lock); + spin_lock_init(&xe->display.wm.dsparb_lock); xe->display.hotplug.dp_wq = alloc_ordered_workqueue("xe-dp", 0); -- 2.34.1