Message ID | 20231124-adv7511-cec-edid-v2-0-f0e5eeafdfc2@bang-olufsen.dk |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp1293119vqx; Fri, 24 Nov 2023 07:24:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEIBNoc4bvD4zlDm3L8yXPhK5wZPd00WLFRSDb40DMuJWDlfSxofXZJcAdsbPEFV0CvMkCM X-Received: by 2002:a17:90b:1d0a:b0:27c:f1f8:261f with SMTP id on10-20020a17090b1d0a00b0027cf1f8261fmr3025101pjb.20.1700839486833; Fri, 24 Nov 2023 07:24:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700839486; cv=none; d=google.com; s=arc-20160816; b=YPjZ4Gtv0TcqBEJLLDefdHGsBfVvSVTX2JEj5vrBk/CIfYSildmW4kdjba0nVAGOCh DtZPhHdcQoc924FZ2r4R4MUdj2Fj+v3q7etfLqBRj+hFxM8g5wfRuBvkyb8dLK/1IcYs kC5cmTESebDhM6U9YJN8szeZcavipoO8HpyIY81NX4w6WkxHvUrbCoD6WWvGP85xxVaf f4USuNS+GFJ6vOonkzyOOfYggWDhuPTYPD9B3geRO+oRDvioVlOmPbM3iyix+rLAD5ko n7vDg3NWmj0OlZNzOqQHI1RXU/z3090JnA67gtUAO2veJfcu35870D9f90e+ksyGF3ns mJxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=peq91xezvaQKWqcf4IslfnLpo00aDgps9HSfXps+xtk=; fh=ydulqYqzRgtodS6f6e63tjxzqAXo+nDD8TuQAI7qv6o=; b=beHyiXXYr2TOfzFi1u9uxYGcgZ5eaSoJUGJ6iXCG9QZQDzzE+8f6f8gZFdwKA1XjAz yOqUspfIo9NXQUdRd+BYqOdb05DEuan4dSkNQFHN1UBuLKAXzxtHaNtL5ET36KVBad3L b6Ttpg/D6dAiJKZDrKxddzN8+a7pZ7+APDCnpIgn5ic9+2mVi5B8YY2X6C30Emu9LPIH kV22YOpwokVzUFBqtOqmzGMweTIvt4vZbA5Gv8B2KWb5UGYdGjMbk0eB2WhscXlWnN3H aw1X20n5wUBBZdT3LAiZPBvY3ZznefOjjtrpd3Sv05LDVVGgy2NNQlvJL8SQvlrjiGiR AFIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pqrs.dk header.s=key1 header.b=uT8OLHRN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id bj12-20020a17090b088c00b002803c4a0684si3727252pjb.189.2023.11.24.07.24.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 07:24:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@pqrs.dk header.s=key1 header.b=uT8OLHRN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id CA4D4803A642; Fri, 24 Nov 2023 07:24:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345768AbjKXPYb (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Fri, 24 Nov 2023 10:24:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345621AbjKXPY0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 24 Nov 2023 10:24:26 -0500 X-Greylist: delayed 599 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 24 Nov 2023 07:24:31 PST Received: from out-185.mta1.migadu.com (out-185.mta1.migadu.com [IPv6:2001:41d0:203:375::b9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBA1C1735 for <linux-kernel@vger.kernel.org>; Fri, 24 Nov 2023 07:24:31 -0800 (PST) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pqrs.dk; s=key1; t=1700838869; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=peq91xezvaQKWqcf4IslfnLpo00aDgps9HSfXps+xtk=; b=uT8OLHRNdk68+oUdZqQn4HY5lfrInyAaLq7rpzCI1VqxaHE4YZV0SrdUAX47q6Nk64tp/V qOtjqkhxqZv626Lnd7Gop6NVRUgiHOqSi2EfwENvKf1F0nesDQltPPOaEc2b4pmo41Pnp1 mZ7BkzsrO+/TsP+uejLgBTEPZr3Qt5XocnRdt+JkXYXPz7jJy2ZcIDI0VP/Bpq1zX6+eTW cNtpdB6c59HkPgAA/EF/448k3PsyHwXD6baaGTolNLRIBWXnIRo0YN12QOjaRytLrBk4fj 5MOUjdtSqvzkv7X+2ehPpN87OTU8h5vEXtlLrATfyKPj7ARfGZE+jMtVCy1rPQ== From: =?utf-8?q?Alvin_=C5=A0ipraga?= <alvin@pqrs.dk> Subject: [PATCH v2 0/2] drm/bridge: adv7511: get edid in hpd_work to update CEC phys address Date: Fri, 24 Nov 2023 16:14:20 +0100 Message-Id: <20231124-adv7511-cec-edid-v2-0-f0e5eeafdfc2@bang-olufsen.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAMy9YGUC/32OQQrCMBBFr1Jm7UgmNcS68h7SRZpM7KC0kmhQS u9u7AFcvg///b9A5iSc4dQskLhIlnmqoHcN+NFNV0YJlUEr3ZKiA7pQrCFCzx45SMAYrRlC63y nO6i1R+Io70156SuPkp9z+mwLhX7pH1khJHTm6NmxGozl81BP4Hx/xczTPtygX9f1C/++WGu2A AAA To: Andrzej Hajda <andrzej.hajda@intel.com>, Neil Armstrong <neil.armstrong@linaro.org>, Robert Foss <rfoss@kernel.org>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, Jonas Karlman <jonas@kwiboo.se>, Jernej Skrabec <jernej.skrabec@gmail.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Hans Verkuil <hverkuil-cisco@xs4all.nl> Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, =?utf-8?q?Alvin_=C5=A0ipraga?= <alsi@bang-olufsen.dk> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 24 Nov 2023 07:24:41 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783459465720702929 X-GMAIL-MSGID: 1783459465665204369 |
Series |
drm/bridge: adv7511: get edid in hpd_work to update CEC phys address
|
|
Message
Alvin Šipraga
Nov. 24, 2023, 3:14 p.m. UTC
This series fixes a small bug where the CEC adapter could have an
invalid CEC address even though we got a hotplug connect and could have
read it.
Signed-off-by: Alvin Šipraga <alsi@bang-olufsen.dk>
---
Changes in v2:
- Rearrange driver code to avoid the previous prototype of
adv7511_get_edid(), per Laurent's feedback
- Free the returned EDID to prevent a memory leak, per Jani's comment
- Link to v1: https://lore.kernel.org/r/20231014-adv7511-cec-edid-v1-1-a58ceae0b57e@bang-olufsen.dk
---
Alvin Šipraga (2):
drm/bridge: adv7511: rearrange hotplug work code
drm/bridge: adv7511: get edid in hpd_work to update CEC phys address
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 154 ++++++++++++++++-----------
1 file changed, 90 insertions(+), 64 deletions(-)
---
base-commit: ab93edb2f94c3c0d5965be3815782472adbe3f52
change-id: 20231014-adv7511-cec-edid-ff75bd3ac929