Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2474524ybl; Mon, 19 Aug 2019 02:39:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7DP8WnvpquI/+r9U52pmfC4f2WvNhZQgz6Q6sHqc3whtIp4MpU3SZRwINvmfP7EZUeerP X-Received: by 2002:a17:902:aa03:: with SMTP id be3mr21656093plb.240.1566207594762; Mon, 19 Aug 2019 02:39:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566207594; cv=none; d=google.com; s=arc-20160816; b=cNZGhXB3bO14A7n9j1PpU1oGK/4J7sSCaymiJuf6dLYjMcnvHjf748tq65xYF+oTPw 3SKtZfjGtpo7P6wfNsosQ5JAQtb9wlxZXf2PCn/I3N4c7FG3JmgJDoVbYhUaGSjWt8aU 0SLFJz7iv3CH7HnCBeH7gjCR92plgUmUMSZx2hZY6/WWIumPoG12ESRQu9pAKJy2zdPI KwQVTVZYa8c91InvA5y0XmhSqTysXvZS0/3sWgXAkyDqKvc/zacfnBYq9BQY46hC5Is5 WhcIZrmFLeHlZ5Jdc1l0yklNi+hbByN08iODS5xNaWgotDOSu1i0ytwAMvhjQm7JH41a FVjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=5jgTyOccaiWDJeQw541yY/UpewxPlZuXG4vOhyIcfzA=; b=svTh/Is1AABX6dDNK+cnP0RkXAjnvF5gB8CekfJQcKsG8/wL/96v2QqPHfznqrG0ZK obfKe4nOItADitC3sbX7F9eHm3LoZsfQhqhgVvTHDXE/BfBDW9sLQimJDTBwQqkfHOOF kxmor9ho9z2X95aKkhMB/bYo2y44lXSlMayMRZPkEKloZ0AcEAZZr3fDbKrdKjyXtQg+ AtY9cr7PLeHqBIIhp/kLl1bi0icQ/00Oxz8bhHNEad+5bOLabFb3koiLTL9dDyzPcfmE yIFe3ooO57gKaLIt7GMBvFhXeYd3gJJrHjSTcuGyQYWts+T7RjukEc0mLOWoshQ+bxlx TPuw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3si10027134pfi.148.2019.08.19.02.39.40; Mon, 19 Aug 2019 02:39:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726930AbfHSJix (ORCPT + 99 others); Mon, 19 Aug 2019 05:38:53 -0400 Received: from lb1-smtp-cloud8.xs4all.net ([194.109.24.21]:48805 "EHLO lb1-smtp-cloud8.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726477AbfHSJix (ORCPT ); Mon, 19 Aug 2019 05:38:53 -0400 Received: from [192.168.2.10] ([46.9.232.237]) by smtp-cloud8.xs4all.net with ESMTPA id ze7ghLtkkDqPeze7khngI6; Mon, 19 Aug 2019 11:38:50 +0200 Subject: Re: [PATCH v7 0/9] drm: cec: convert DRM drivers to the new notifier API To: Dariusz Marcinkiewicz , dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org Cc: Kate Stewart , Neil Armstrong , Daniel Vetter , Hans Verkuil , Dhinakaran Pandiyan , Sam Ravnborg , linux-samsung-soc@vger.kernel.org, David Francis , amd-gfx@lists.freedesktop.org, Leo Li , "Jerry (Fangzhi) Zuo" , linux-arm-kernel@lists.infradead.org, nouveau@lists.freedesktop.org, Jonas Karlman , Jani Nikula , intel-gfx@lists.freedesktop.org, Russell King , Sean Paul , Rodrigo Vivi , linux-tegra@vger.kernel.org, Thomas Gleixner , Allison Randal , Thomas Lim , Jernej Skrabec , Greg Kroah-Hartman , Douglas Anderson , linux-kernel@vger.kernel.org, Manasi Navare , Alex Deucher , Colin Ian King , Enrico Weigelt , Laurent Pinchart References: <20190814104520.6001-1-darekm@google.com> From: Hans Verkuil Message-ID: <42c7ef3c-b7e5-8c63-c7c2-bfc6c56100c6@xs4all.nl> Date: Mon, 19 Aug 2019 11:38:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190814104520.6001-1-darekm@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfPDgGfS7c9tn4rafxcc15L+sdU94YNd12NYSgxtW27RjNdWt8soWf0p7zwZtSmj5HF9HsGpidCpnUpt5hDO/L/H68USjBoTVY6y1GnWXCIZIGReaUbCR r4vAQe5xN1v/w07oNHcOJEsALfrneb1NuHIyy7V6sy8SIyaqln5q6vgESUB5xmUmpjy4J2O7D6fMHK+OU+bRJ9fYkvsP+Uc1l3/bG66OSNAQMIGJgtsV4V9i ILw/etbBTDN7if1Tx31wHjdGiAqAi2pNFQmMYTY5myx6Zdx9FohbrBpgZlTicKwY1GlNJ9Iyh3AoVqqW1A8DqPYjFzp9Ll5zCNL3o5E2o11NlByJtcaZxbdb ZzMqPs6UKce370BAWUuRPehhbW6Di1dnt0WRsX2wZQ/VdQu7h4ZauWcS91g3bhRrgqS9bzdyGIpOjL87l2z8V9uBXaKe2ZzI9v+iYftgLh7dRwbvkIsodc3L WSoB8f180Sr1hqSugtvbyhNsAz0YjYmzNY3N9pdgBp+SXQvKyt4hoILiopomIs4P/sy1Z5DxYk6FugifGpJIu1+7L6C+KppnIjS8pNy6VK+oGq4FEr3vh8yB GxK95UWqdQSIhX5OpbXpMoJ1xZmtr0G+RKLUKZDTYJSdjAUPeR/nzCbyJnokpxsiyNJnK4uM/ViGRSjjxIDEsrh+rESV2nH1GrdKW7cijdSormeE7cD32w/Y SX3ShlplIcVz0YZ5B8TsYacwnzQTsn4VUfa/28rKuR6IqQuOAgHZnAlsMMhXgsG1r2OSGeLsTxxaMWxH0amG69rQr+TNjlWMj/cr+E6orZcfJlTMcRWxYl9s pStvJvOg2MVG68BZKEV+zg/qwvrlhBBPPX0ZnnNTfJ+iQv5pjalUb9V4NR+zO6Qg54qpGx0riTn+U77CD6GTAk6QtjbbB+nCdXM33ABE2eN2Hgh4tc1ruyeg 9mcen89SqOMwc8sv/qhbPgWy3HH+8lVyhyOBp+hmdZ8rG/D+z2mq2ChOL+dcZZR8AkwGQjqwvAaRWg5JHa+Y5KTiYFP83SDWVbrNyxGr3zRZffKLNhowaDJn zHowYOOzbcQVlLA1ur0m5DgUw5xYQ0UkqTnJ6Tlsb9DeEI2CKn9KGZYNj30AuDa9UxqQpbm3MDZAcA8RHy4gocSZFLl1QNgdacx/7qqpgtPzScG6Ys3q3Xxw I0yKiDHFPgtI7wAeA2FVAF1U0T+zL+XSN+JFmJ8tInpbkc2DGoFlTHOifew7zb3whYgFm8yo1XlmgYVMOodmQN27MgKXEZSu8e+48bmOZMThMe4c0hB7HIQ1 isOyI2fWFj4vcXK+iyPqg6WPTlG2knIJKBvRjbCUXfG+BlthwJNCaWT9hIW2+EkaB7acj4Mz4wiysngKHyZeWWVtQP7lT/zOY8Un7oWmFWfQttd+y+/nHxEg nsVrYV+6yi3BHXec Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, The patches in this series can be applied independently from each other. If you maintain one of these drivers and you want to merge it for v5.4 yourself, then please do so and let me know. If you prefer I commit it to drm-misc, then please review and (hopefully) Ack the patch. I would really like to get this in for v5.4 so I can get the userspace bits in for v5.4 as well through the media subsystem. Dariusz, can you post a v7.1 for patch 5/9 fixing the typo? Thanks! Hans On 8/14/19 12:44 PM, Dariusz Marcinkiewicz wrote: > This series updates DRM drivers to use new CEC notifier API. > > Changes since v6: > Made CEC notifiers' registration and de-registration symmetric > in tda998x and dw-hdmi drivers. Also, accidentally dropped one > patch in v6 (change to drm_dp_cec), brought it back now. > Changes since v5: > Fixed a warning about a missing comment for a new member of > drm_dp_aux_cec struct. Sending to a wider audience, > including maintainers of respective drivers. > Changes since v4: > Addressing review comments. > Changes since v3: > Updated adapter flags in dw-hdmi-cec. > Changes since v2: > Include all DRM patches from "cec: improve notifier support, > add connector info connector info" series. > Changes since v1: > Those patches delay creation of notifiers until respective > connectors are constructed. It seems that those patches, for a > couple of drivers, by adding the delay, introduce a race between > notifiers' creation and the IRQs handling threads - at least I > don't see anything obvious in there that would explicitly forbid > such races to occur. v2 adds a write barrier to make sure IRQ > threads see the notifier once it is created (replacing the > WRITE_ONCE I put in v1). The best thing to do here, I believe, > would be not to have any synchronization and make sure that an IRQ > only gets enabled after the notifier is created. > Dariusz Marcinkiewicz (9): > drm_dp_cec: add connector info support. > drm/i915/intel_hdmi: use cec_notifier_conn_(un)register > dw-hdmi-cec: use cec_notifier_cec_adap_(un)register > tda9950: use cec_notifier_cec_adap_(un)register > drm: tda998x: use cec_notifier_conn_(un)register > drm: sti: use cec_notifier_conn_(un)register > drm: tegra: use cec_notifier_conn_(un)register > drm: dw-hdmi: use cec_notifier_conn_(un)register > drm: exynos: exynos_hdmi: use cec_notifier_conn_(un)register > > .../display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +- > drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c | 13 +++--- > drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 46 +++++++++++++------ > drivers/gpu/drm/drm_dp_cec.c | 25 ++++++---- > drivers/gpu/drm/exynos/exynos_hdmi.c | 31 +++++++------ > drivers/gpu/drm/i2c/tda9950.c | 12 ++--- > drivers/gpu/drm/i2c/tda998x_drv.c | 36 ++++++++++----- > drivers/gpu/drm/i915/display/intel_dp.c | 4 +- > drivers/gpu/drm/i915/display/intel_hdmi.c | 13 ++++-- > drivers/gpu/drm/nouveau/nouveau_connector.c | 3 +- > drivers/gpu/drm/sti/sti_hdmi.c | 19 +++++--- > drivers/gpu/drm/tegra/output.c | 28 ++++++++--- > include/drm/drm_dp_helper.h | 17 ++++--- > 13 files changed, 155 insertions(+), 94 deletions(-) >