From patchwork Tue Nov 15 06:28:34 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: 20206 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2549461wru; Mon, 14 Nov 2022 22:30:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf71u/BImP8se/JaoR0aOLqwRyNC07b0XMBwIxMezJjlJVksnd46bqNt2dzhEweH0Q3dFGUe X-Received: by 2002:a17:902:9309:b0:188:d7f5:20df with SMTP id bc9-20020a170902930900b00188d7f520dfmr528522plb.120.1668493843456; Mon, 14 Nov 2022 22:30:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668493843; cv=none; d=google.com; s=arc-20160816; b=w9TdHaWWW1NUv+q27NkxXTDLD4TZPr8ZMptkDAp1neJ82aSbHB8wl7+ltMGXmXG2Iv PhN808IoihXtVN37IBHp71K4qMV0QTLggAwBcV3V/Jl8W1SdekAfT/GniGYAiOhT2pAl GqafoU1J8cVIxb+rB/hRlORk0xI4VhNdkTUaqR9Ka2kI15S6K2ZuQdk5Y7piD1dFtuak 9+dduT9C287zfVQmu8iYuwHch2CIK7Td8LH6fOOUzHmqC0ycxSPbiuMccXIR5dPcTI/Y 8SeOwrrFkzaeQmpze1RSWXrL2+m5zYD0mh/BuaXtqoFgdkIhBlActTmnnAzBlhBv+07D gtJQ== 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=9mBggjsv2GqBICe6FMg0nBv1QbzL30nQillIj133bFg=; b=y1CJ2riRedBUXAQwhkEGkMQ+szvCMKo4Q1W2nmS+B2ByLj9553QxQpO+d3NIcMEEMH wgqQUVQFRw0khA+WEk2mH3A0Rsa92OLtswxbv+b+5ACI2qtXa8jgWa3O1Ir5zcNQcD7P RyRJO9Dpm3/AXtAYoePiRpUjrsjU5TbZhSz1NIWiRJG0l0anPUgyY9ZKDRYs42xGcd+t B5y7l9DrF4eqqz+tvNhRkGBRdOhKupd6wnsK7Di4HbNFu6X7EVJxkgA0oLj9VqIORkTZ TkOoZMjXkPaDcoDIuo0BW/5kzBBsL8fgqv/iNJ8BJBF+n6DDsP27qbf3lkR7o0j4X3VW nbdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=h9HAx1RY; 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 x24-20020a63db58000000b004625c2dbc5csi10732850pgi.718.2022.11.14.22.30.09; Mon, 14 Nov 2022 22:30:43 -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=h9HAx1RY; 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 S232158AbiKOG24 (ORCPT + 99 others); Tue, 15 Nov 2022 01:28:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232093AbiKOG2o (ORCPT ); Tue, 15 Nov 2022 01:28:44 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A7A5E58 for ; Mon, 14 Nov 2022 22:28:43 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id d59-20020a17090a6f4100b00213202d77e1so15983018pjk.2 for ; Mon, 14 Nov 2022 22:28:43 -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=9mBggjsv2GqBICe6FMg0nBv1QbzL30nQillIj133bFg=; b=h9HAx1RYCL+85yBECtCTWfMwgCWVLWezO7TR3xa2myoeE/9GBNy1GPd2bVXJTCyHmp RyF0Me4sutzi/qhfcY1o7pZhIMu0oNX4vDlc9AwIRTOVceoUFeGMdgeywaZLuC2h9L78 zI72oGlO3pPDEik9pwTxZKO2t7TaeOm8hPFgA= 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=9mBggjsv2GqBICe6FMg0nBv1QbzL30nQillIj133bFg=; b=achsKeGleJuUsj2krAj4zDAwEOfUfKTB7f21DxjkTpPnv7F/FRtT4jO8OU+B6XLCjl G+J47YT5aTbEJd+gjNeyfp8QYmmwvI/muw8GWX1XYU8pie37QBZMvTMl6IGbGeFWU5xy TjY6Jxko0fSsryqe33xBb0R8pyfjDwRyEajyFKSaMfdGRPaKFFLw1AoHonvS0e8HVjbS TiNgxiw4CcitC/gWMB1Gka1bwiKh2TsxTOsYvgovgPGMbiS1eS8kaSbRdUyiFbOYtSCa 9vw8xwd4E5sN74dUIHAdVkg5iLXcUIPXWJxgsU1Fh1bSHe3kl1+mNR4ygvipqy8zsAay Cq9A== X-Gm-Message-State: ANoB5pl7/V7Mo3qhsey4R6ELFr9TG/vQ169hHEBbcdA6ASRoJscxFBkF HRGkzILxS9wDQiaTzvPDWDZczQ== X-Received: by 2002:a17:90a:d985:b0:212:e891:f08d with SMTP id d5-20020a17090ad98500b00212e891f08dmr144456pjv.18.1668493723030; Mon, 14 Nov 2022 22:28:43 -0800 (PST) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:17d2:e181:950d:967a]) by smtp.gmail.com with ESMTPSA id b22-20020a630c16000000b004351358f056sm6956372pgl.85.2022.11.14.22.28.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 22:28:42 -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 v5 2/3] drm/bridge: anx7625: register content protect property Date: Tue, 15 Nov 2022 14:28:34 +0800 Message-Id: <20221115062835.3785083-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog In-Reply-To: <20221115062835.3785083-1-hsinyi@chromium.org> References: <20221115062835.3785083-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?1749542600052264779?= X-GMAIL-MSGID: =?utf-8?q?1749542600052264779?= 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 --- v4->v5: 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);