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 B948CC43334 for ; Tue, 7 Jun 2022 03:10:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CB0DA112757; Tue, 7 Jun 2022 03:10:44 +0000 (UTC) Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by gabe.freedesktop.org (Postfix) with ESMTPS id 74506112761 for ; Tue, 7 Jun 2022 03:10:43 +0000 (UTC) X-UUID: 549b59eda6404f65abd5b720e744a6f4-20220607 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5, REQID:9e2bbc86-1cd8-49ab-8252-e5e5c7c7ebaf, OB:0, LO B:20,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:45,FILE:0,RULE:Release_Ham,AC TION:release,TS:45 X-CID-INFO: VERSION:1.1.5, REQID:9e2bbc86-1cd8-49ab-8252-e5e5c7c7ebaf, OB:0, LOB: 20,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:45,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:45 X-CID-META: VersionHash:2a19b09, CLOUDID:9a03687e-c8dc-403a-96e8-6237210dceee, C OID:e0ded3fc8b76,Recheck:0,SF:28|17|19|48,TC:nil,Content:0,EDM:-3,IP:nil,U RL:1,File:nil,QS:0,BEC:nil X-UUID: 549b59eda6404f65abd5b720e744a6f4-20220607 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 516054270; Tue, 07 Jun 2022 11:10:38 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs11n1.mediatek.inc (172.21.101.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Tue, 7 Jun 2022 11:10:35 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.3 via Frontend Transport; Tue, 7 Jun 2022 11:10:35 +0800 Message-ID: Subject: Re: [PATCH v10 05/21] video/hdmi: Add audio_infoframe packing for DP From: Rex-BC Chen To: AngeloGioacchino Del Regno , Guillaume Ranquet , Chun-Kuang Hu , Philipp Zabel , "David Airlie" , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Matthias Brugger , Chunfeng Yun , "Kishon Vijay Abraham I" , Vinod Koul , "Helge Deller" , CK Hu , Jitao shi Date: Tue, 7 Jun 2022 11:10:35 +0800 In-Reply-To: <7ae7e42c-9225-2ff2-f167-8235ab4cadc3@collabora.com> References: <20220523104758.29531-1-granquet@baylibre.com> <20220523104758.29531-6-granquet@baylibre.com> <7ae7e42c-9225-2ff2-f167-8235ab4cadc3@collabora.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Markus Schneider-Pargmann , linux-mediatek@lists.infradead.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, 2022-05-25 at 14:32 +0200, AngeloGioacchino Del Regno wrote: > Il 23/05/22 12:47, Guillaume Ranquet ha scritto: > > From: Markus Schneider-Pargmann > > > > Similar to HDMI, DP uses audio infoframes as well which are > > structured > > very similar to the HDMI ones. > > > > This patch adds a helper function to pack the HDMI audio infoframe > > for > > DP, called hdmi_audio_infoframe_pack_for_dp(). > > hdmi_audio_infoframe_pack_only() is split into two parts. One of > > them > > packs the payload only and can be used for HDMI and DP. > > > > Also constify the frame parameter in hdmi_audio_infoframe_check() > > as > > it is passed to hdmi_audio_infoframe_check_only() which expects a > > const. > > > > Signed-off-by: Markus Schneider-Pargmann > > Signed-off-by: Guillaume Ranquet > > --- > > drivers/video/hdmi.c | 82 ++++++++++++++++++++++++++--- > > ----- > > include/drm/dp/drm_dp_helper.h | 2 + > > this has been moved... again... this time it's > include/drm/display/drm_dp_helper.h > Hello Angelo, yes, I will rebase on 5.19-rc1 and fix this in next version. BRs, Bo-Chen > > include/linux/hdmi.h | 7 ++- > > 3 files changed, 71 insertions(+), 20 deletions(-) > > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel