From patchwork Wed Nov 23 10:05:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 24848 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2706072wrr; Wed, 23 Nov 2022 02:30:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf6LNhZF4gNTm1Kx0R4wi+f8Sltb6QAT+5mFI+baLEvG03uHUN1ZLqOWHdp9vX3AkelRzTj5 X-Received: by 2002:a05:6402:5483:b0:468:d5a9:cb4b with SMTP id fg3-20020a056402548300b00468d5a9cb4bmr11414839edb.409.1669199414396; Wed, 23 Nov 2022 02:30:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669199414; cv=none; d=google.com; s=arc-20160816; b=AIMICR8H5Ecak+mK5iMiAOJeclLeyaK41BiOSIfISgrbH1vQDaqTZmv4GCZLAcbD8s PMncbbxB5cPq6m3KoH2nXTmve859N0uX00hAike1yQzeYqbvOEKlE+UOaDWMUw1vuECT Cs2oAzDNku27PjRkf4TUkLQji8/oUG/DJaDzGnA07oafSNcdgcUspWQkkEU1BeqgmVbG a/zl/3pAR7kpIP32NPYu1Mv+dl/bARpi6TAa48THVhlakryaSyU1QQ83xDJS4LKpLhyh xEna9Alwzs9zNQKZw7w8M765l94FZzkqQH5X+rcphs2U2F6ecPGkqViA7KwRs6N8P6S6 U0vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UErsT04ZyvPQZD/GWA3SjRANjv/mY45ZrGViPWOUsZw=; b=QgCF6Xz83wUAaMV5lFyTHDIpW6aja/2efngnQ/mwDVGSCwexmvNbovwAG5aNb2UqhX uxBd2++LgMGpV1TSMGCJxlhC3PRRp36XbMRjwUZhENmC8I1Iz0Ipq+yMTY6Xo0eisNJT VhCYTsUs26ajOLppXnNgY3igtRWhhrCTfVMkLflVFQ3v9cWqNSqIJBjZmezwJ+DSx88J schRRV3wiDyloYS2MnENFKH3up1xm5fg1tiKXs0nv07E9M6sZQsUXhcryeyc2UkQWCfX eg3gVWYW/LCsX+41Zd3zR+wdXHYM4hkA/2P6m0IDeVy0hmFRAH6ib5y/WZb4XLRYB7J+ 4hIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="YQq1OWP/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a1709067c4a00b007adc8d6b77esi1751482ejp.308.2022.11.23.02.29.50; Wed, 23 Nov 2022 02:30:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="YQq1OWP/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237362AbiKWKSO (ORCPT + 99 others); Wed, 23 Nov 2022 05:18:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237758AbiKWKR1 (ORCPT ); Wed, 23 Nov 2022 05:17:27 -0500 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BCA312EBD7 for ; Wed, 23 Nov 2022 02:05:40 -0800 (PST) Received: by mail-pg1-x52f.google.com with SMTP id v3so16360424pgh.4 for ; Wed, 23 Nov 2022 02:05:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UErsT04ZyvPQZD/GWA3SjRANjv/mY45ZrGViPWOUsZw=; b=YQq1OWP/rreUbf1JZWHTsvWDnRHZ6KDDSG+laL8s//K8YlvbE0jQAQGaPqUVd5uZ5X GxuAkR4sMWfwTX7XUtuQ92Pcgzw8Y568clN2ihAvwMYHUdzCDxRqQNHrF6EDm2pcadEa pbJhY8JmZrX52GI+i4lNgbrQ7ndJmKw0OQ4Mo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UErsT04ZyvPQZD/GWA3SjRANjv/mY45ZrGViPWOUsZw=; b=FEh5yO/7fPuFAmfsy8exbso+TvCjgNqMi7LFfyBAlUcZIwbv+6p2v08Tz2IYG/Q9mi IDGF/gXfQsuLRgHJTOLs75tKVLBzvYAWXe+8qMcKrpqTfGORYqeKGquylv/3J+Bz6Ugk kF2iPRlUiccHOxG5r5zpOTK/fKmGxgore344SPyZgJCrPPQ4M1C+5VGlpjo5vdg34TMZ SFFInMpV6TldnO1SXpNkxGgti7FdHVYUcvvEqpBy4YzHwNAj3gDwRA5wjt7R9qyOUKft b84sfyzgGawZddvZOzlsP7EMDvSaPXzn5/TcSbGTOtdhjGPqSoZOI2EnDDFPEJDQxxpf 4eug== X-Gm-Message-State: ANoB5plFejcdsgUoE9HMNNcz7cBb+JMb+LwAjHsvasdMOrKSWx996EHZ 2CcdbQiIqYQJOMQX9bkhUcke2Q== X-Received: by 2002:a63:195:0:b0:442:c653:677d with SMTP id 143-20020a630195000000b00442c653677dmr25713206pgb.43.1669197939853; Wed, 23 Nov 2022 02:05:39 -0800 (PST) Received: from hsinyi.c.googlers.com.com (46.165.189.35.bc.googleusercontent.com. [35.189.165.46]) by smtp.gmail.com with ESMTPSA id y129-20020a626487000000b005745a586badsm1020138pfb.218.2022.11.23.02.05.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 02:05:39 -0800 (PST) From: Hsin-Yi Wang To: Sean Paul , Douglas Anderson , Robert Foss Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Allen Chen , David Airlie Subject: [PATCH v7 2/3] drm/bridge: anx7625: register content protect property Date: Wed, 23 Nov 2022 10:05:28 +0000 Message-Id: <20221123100529.3943662-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.38.1.584.g0f3c55d4c2-goog In-Reply-To: <20221123100529.3943662-1-hsinyi@chromium.org> References: <20221123100529.3943662-1-hsinyi@chromium.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750282445356783229?= X-GMAIL-MSGID: =?utf-8?q?1750282445356783229?= Set support_hdcp so the connector can register content protect proterty when it's initializing. Signed-off-by: Hsin-Yi Wang Reviewed-by: Sean Paul --- v6->v7: no change --- drivers/gpu/drm/bridge/analogix/anx7625.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c index b0ff1ecb80a5..0636ac59c739 100644 --- a/drivers/gpu/drm/bridge/analogix/anx7625.c +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c @@ -2680,6 +2680,7 @@ static int anx7625_i2c_probe(struct i2c_client *client, platform->bridge.type = platform->pdata.panel_bridge ? DRM_MODE_CONNECTOR_eDP : DRM_MODE_CONNECTOR_DisplayPort; + platform->bridge.support_hdcp = true; drm_bridge_add(&platform->bridge);