Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5730028ybc; Wed, 27 Nov 2019 08:33:44 -0800 (PST) X-Google-Smtp-Source: APXvYqz8KouLWYgiynaTci+hFL8Id6Gq4hDd5afUkfpVE2z+RFqbLLn7Y0Qp5x+9xwczY32CPQC7 X-Received: by 2002:aa7:d6cf:: with SMTP id x15mr32832128edr.202.1574872424284; Wed, 27 Nov 2019 08:33:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574872424; cv=none; d=google.com; s=arc-20160816; b=hm3onS+V7Qw+IKaIcUH82UVq8nLivAgYmvnbAUxdrKevLzyyMJ15i9ItSZHAeJCui2 Ry9IbP6tvpGpVoAXE43KHT64jOc0APkz3uECKFu/5zfMYdxg/caPbu6/Bs1/p1duZ8D0 7OgD/fzYv070v6qF3nB97PSuHxuBmN3Qt7DiYRq+HMOfPjGojT96QsVETwf+rNDVCUOz SJ6zGUSmIz7LrlJjAPBdO9eXbbDPn7fvfqCKi1N6WleJ5oqkfv4LjeOdsK0yhTh66SD4 78dIEgAqDC/HtUSGCPQrb7d2FdImcacepI8c+iaSdTidAythoSBuDso0oVofDroui+Sr 00vQ== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=BW8Iv3F/t56rMQHhfpUtEUowOT8/SKG2l+YOWV4ch3Q=; b=MdSrEJMpw+n6Vw5piNKXrewGmZQLThpiZrYXbWAehhrv91yv6+KlyhSvzZb4HCOspp 1OkgmSeiwVvhnQxBdXD3oEDApN2yK/jFCsk4wrblJQUZThISnqCRG51F6wfJE0wgLY8c t2EEsKojlF9TcXx4jLW8gUA77fY+bNCqsSjHCt9GTryKANrO5C3GcQSnOD7jdaAU6+T5 9oNXhc9Zhom0EWeufwf/bF+EeU+7HIVjJyeCUrHXAwMQHyHJq3qHk99lfeiCYfLhCvJz hnKGhy2L0VKU+DysDEZvuU2U0CZ9Dv4B3XkYrBXTagb/mc9x4d4RrSK++i6p5ecMcT+s 8GLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DZLPCoWW; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a15si10657794edb.293.2019.11.27.08.33.16; Wed, 27 Nov 2019 08:33:44 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=DZLPCoWW; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727158AbfK0QbH (ORCPT + 99 others); Wed, 27 Nov 2019 11:31:07 -0500 Received: from mail-qk1-f177.google.com ([209.85.222.177]:39393 "EHLO mail-qk1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726909AbfK0QbG (ORCPT ); Wed, 27 Nov 2019 11:31:06 -0500 Received: by mail-qk1-f177.google.com with SMTP id d124so4850306qke.6 for ; Wed, 27 Nov 2019 08:31:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=BW8Iv3F/t56rMQHhfpUtEUowOT8/SKG2l+YOWV4ch3Q=; b=DZLPCoWWf9i/wY3MVP1zzdkriDFBGt6cV8bQnsF+Ln3QBVp1IbVekkQm8L9+zFtkEW o4qxi+keC9Zj/naaZlTlxv41GMTcEbr4c0G2Yw8BC73boBIr5mGPfij0xc7zy2x/b6Yq TofhfxOi84OqqmAaK+XbdfgBfkhRGEkQpHi3Y6CydRTaMYbdZvo4A/X3Grcoat5DuzOi +0sGaBUgWV1EnHawe3Nf+HZFTnl0zLFQq/q4bbvdb2wb5KZkNr9ydFffZsVxwE/bXxnT eJbYQqkAJoeRbaDeOsJJDLwBnt+n/YNg0hYZBv9/IcyW6Aegaxgu1GXv4g0qKt+qyT5y Qd4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=BW8Iv3F/t56rMQHhfpUtEUowOT8/SKG2l+YOWV4ch3Q=; b=VW+C12HVPS0xVpYwOLw/zSMwOeaj9xRoPq/I8W6IGFDfEE7FX6GlHLPTFn3bTwA8fl dzNAFNwclupycV2z7pmONqwDwVab0Ov7UQORAMUHNCPv4j1IIt6qpFjsRPGTT2XiptV4 4fKhJdlr8EX5B8Vuk34gsZklxrHZUt+i5XocfK/oeNiXW23RFxLzrqE5OYDMKQ+dYL48 CqB+WVgntSIqrSoLtYXOgou/4JQLJ0qWYEO5G8f4zdw15IbiGEYxmSwHlsza/RNVXOzf t0tg4kCipKe7R3co6pVCr5vFSXrAR/OJXFwsaqlPkBYwUTX9i3tfAVcRo9i2pbYU/fwj cBuA== X-Gm-Message-State: APjAAAUTj0JwS/3U1cig4OAMe9H+bcI6bJdlcT3wMttIBEORzTHWXytt 1/kt4qiLiIMycwcUunCLTCgYTWgQdoPzirUivXE4tg== X-Received: by 2002:a37:7f45:: with SMTP id a66mr4762213qkd.427.1574872265669; Wed, 27 Nov 2019 08:31:05 -0800 (PST) MIME-Version: 1.0 References: <20191126131541.47393-1-mihail.atanassov@arm.com> <20191126131541.47393-29-mihail.atanassov@arm.com> <20191126193740.GC2044@ravnborg.org> <2161383.jsAorMfJJG@e123338-lin> <20191127161907.GA17176@ravnborg.org> In-Reply-To: <20191127161907.GA17176@ravnborg.org> From: Benjamin Gaignard Date: Wed, 27 Nov 2019 17:30:54 +0100 Message-ID: Subject: Re: [PATCH 28/30] drm/sti: sti_vdo: Use drm_bridge_init() To: Sam Ravnborg Cc: Mihail Atanassov , David Airlie , nd , Vincent Abriou , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le mer. 27 nov. 2019 =C3=A0 17:19, Sam Ravnborg a =C3=A9= crit : > > Hi Mihail. > > > > > > > I can see from grepping that bridge.driver_private is used > > > in a couple of other files in sti/ > > > > > > Like sti_hdmi.c: > > > bridge->driver_private =3D hdmi; > > > bridge->funcs =3D &sti_hdmi_bridge_funcs; > > > drm_bridge_attach(encoder, bridge, NULL); > > > > > > > > > I wonder if a drm_bridge_init() should be added there. > > > I did not look closely - but it looked suspisiously. > > > > My goal with drm_bridge_init() was to get devlinks sorted out for > > cross-module uses of a drm_bridge (via of_drm_find_bridge()), so I only > > considered locations where drm_bridge_add/remove() were used. > > > > Would you be okay with a promise to push a cleanup of this one and the > > one in sti_hda.c after patch 1/30 lands in some form? I'd rather not > > make this series much longer, it's already pushing it at 30 :). > > Absolutely - my drive-by comment was more out of concern if this > was missing. A clean-up later souns good. Or you can just do the changes for sti_hdmi and sti_hda in this patch too. Benjamin > > Sam > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel