From patchwork Wed Mar 8 14:12:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 9611195 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A25656046A for ; Wed, 8 Mar 2017 14:13:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5C512853E for ; Wed, 8 Mar 2017 14:13:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA8562857D; Wed, 8 Mar 2017 14:13:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9D0B72853E for ; Wed, 8 Mar 2017 14:13:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 662336E928; Wed, 8 Mar 2017 14:13:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id A2AFD6E924 for ; Wed, 8 Mar 2017 14:13:05 +0000 (UTC) Received: by mail-wr0-x241.google.com with SMTP id u48so4327676wrc.1 for ; Wed, 08 Mar 2017 06:13:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SXOPTcliHms6Ku0USbSFC205AhYSdYq1umCKFYShK8M=; b=iA+F2KApEJ9y4TE4dUJObGoiK/LenqPpXdvWPWxzpJVpcHWLuaZiwBF9Wmkf3BTFkQ JDu9yo7NP4dZqEup6C5P1OBiE+LfDPZpyae+NuDZ6B4abDbXtZpB3T9lREr5swJE24xW YTg3MQLWACGibj5vY6dmiTPtuHx37t/RMVB54= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SXOPTcliHms6Ku0USbSFC205AhYSdYq1umCKFYShK8M=; b=dMreTnlWqNsQ2SHo6QJB1BGb9tRqDLOCka1+mZIzpGwC1UAs7PkAqQJhSti49LwUHi EcRNx32ZVnHrI55ppMGSGf+EhWo3oHd8D4v+NEy3raIdNRUjmRQbJs582W97v4HOYa2U e30KJdsdxOifzhAcvtXndTAqvLO2cFf8s4DIW8X5WiJO0nspFTT/1+0uJnaCTfxNkWcv p5M/TC5du+lns5BDZBGNrVvyLJK7q4xY+v/Ofnqfi4UrD/tVGwICrXGuNw6tivQodxcp r40q1tgrIaJOr2QekPiV/F/S9UqJzqazgR9PF/kCQbEP2Ba2mK5UpJwyPlKnZSvCN5dK t4XA== X-Gm-Message-State: AMke39l4TmINSemjrvuoyTueDyh7p7B0tGx7utB/x3Jp0kkj8HH4+GEAUCQrqUtmD5P+6w== X-Received: by 10.223.145.97 with SMTP id j88mr5474203wrj.178.1488982384294; Wed, 08 Mar 2017 06:13:04 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:56c9:0:decc:6e78:7e96:b452]) by smtp.gmail.com with ESMTPSA id m186sm17012515wmd.21.2017.03.08.06.13.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Mar 2017 06:13:03 -0800 (PST) From: Daniel Vetter To: DRI Development Subject: [PATCH 01/24] drm/doc: Add todo about connector_list_iter Date: Wed, 8 Mar 2017 15:12:34 +0100 Message-Id: <20170308141257.12119-2-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170308141257.12119-1-daniel.vetter@ffwll.ch> References: <20170308141257.12119-1-daniel.vetter@ffwll.ch> Cc: Daniel Vetter , Intel Graphics Development , Daniel Vetter X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP At least radeon, amdgpu and nouveau should be converted. We have patches for i915 already. Signed-off-by: Daniel Vetter Reviewed-by: Sean Paul --- Documentation/gpu/todo.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index ce0f1a588e7f..63c7088cace3 100644 --- a/Documentation/gpu/todo.rst +++ b/Documentation/gpu/todo.rst @@ -153,6 +153,19 @@ following drivers still use ``struct_mutex``: ``msm``, ``omapdrm`` and Contact: Daniel Vetter +Switch to drm_connector_list_iter for any connector_list walking +---------------------------------------------------------------- + +Connectors can be hotplugged, and we now have a special list of helpers to walk +the connector_list in a race-free fashion, without incuring deadlocks on mutexes +and other fun stuff. + +Unfortunately most drivers are not converted yet. At least all those supporting +DP MST hotplug should be converted, since for those drivers the difference +matters. See drm_for_each_connector_iter() vs. drm_for_each_connector(). + +Contact: Daniel Vetter + Core refactorings =================