Message ID | 20221102111148.1810314-2-hsinyi@chromium.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3556565wru; Wed, 2 Nov 2022 04:17:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6bkVCQlAcBUZx9PGX3DjRrR5SlIpqs8zp2UffP9sz+IrE8d/1IswFCAMkSvlf+TJ4IjaIp X-Received: by 2002:a17:902:7294:b0:187:146c:316f with SMTP id d20-20020a170902729400b00187146c316fmr18608240pll.149.1667387839001; Wed, 02 Nov 2022 04:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667387838; cv=none; d=google.com; s=arc-20160816; b=JPml/9SRECkw+J8xkXnM51ZIOOTVnk/9eyxF5+6JvQTjiQWtAfinVn9qAyUsYkYVAT IbbCR8q2zl2iVxSFCyR0v7SOb2c+6L2BeMpHRvhb7oWfMG/QyLAruX/D/w1jEY2cw+CY +yjrFTvWwMxiHAVm5wixIND5i0kFXsNVsVVRka0Bta7J7AtQBZS1wZam/Evod1NQr6Dr DNcpsXb3LhIbtrtz1xGXDefGoQSxZLuWzTxAt9D1tYG77OYHYOKVko+HY9pS5suhvVJz pnlcwzJv4sS9bjrog3cFhvAOSpTrnsgF2taUJfjbQvG+jTwAf1LmyBMDIJgjinC5ILDd g5Fw== 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=1OuwW2usJdNl/cGqK4nMOpD/moR27gN+SLRJ4Leuu4k=; b=ErvACvww6OyiQRT37Lw6yfsNjFU7pljr4GSPvrCI/NNulvz0cy9leoiukZXzVZ1HGr x96NJ7L3vvMaKJXjNAnJrA7zRD6P2agay7tdKqvePbVW7vxqVWypCFZ1Bj6Hgk9CN47s TwLtDk3jymO+x/HifzXE2FXAMHJQiNASuO7Lor/+up7en4G0PFRjFzplTVkj5x4wSi24 d6+EftwEoN/gnlOiDEvuMqwmC6OOinDyRq0oXgLr7UgknEWI+klc0nxBCmgnC5FN0X0H ciTvrJ523KSzyd6joQp42KsHHF+JanjuTEBnZ41ntQbZg5jS2QIohZWU+L+I9+4NjU8Z qkpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dRw3oxn3; 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 d12-20020a056a00198c00b005632b7b5e41si16559889pfl.136.2022.11.02.04.17.06; Wed, 02 Nov 2022 04:17:18 -0700 (PDT) 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=dRw3oxn3; 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 S229996AbiKBLNM (ORCPT <rfc822;billy.jones8454@gmail.com> + 99 others); Wed, 2 Nov 2022 07:13:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229598AbiKBLNG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 2 Nov 2022 07:13:06 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DA722793E for <linux-kernel@vger.kernel.org>; Wed, 2 Nov 2022 04:12:53 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id v17so13228650plo.1 for <linux-kernel@vger.kernel.org>; Wed, 02 Nov 2022 04:12:53 -0700 (PDT) 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=1OuwW2usJdNl/cGqK4nMOpD/moR27gN+SLRJ4Leuu4k=; b=dRw3oxn3H53aACjL3GYfw7dtwdvsMK1880QSOHc59/ENT8bkAlKRHZT/hOalamoG8/ 9lc50vfEbZWhSJJZjkhZLOmtLUSU31heslpkhmNAjYYxFkXjS8j/5WSP4db2CM/uG950 Hl4ntpNuQxjSezhjmi+JIW4nge0sJbjJM0mrk= 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=1OuwW2usJdNl/cGqK4nMOpD/moR27gN+SLRJ4Leuu4k=; b=Jo1IsgZ0QsVoa7uKl3d5Bijqbf8J48CbeXpQEDB+5vcyqoZkl3RqRBbE0AgAUx28zP sY/CeKOUwI9Lj41vvCpTffjMZulE3zgcMuQBfYMmhtL6BXUo5k9JMXUB1WGABdEihTQw 7bpSUsR5E8GibfqyuCbZtoNBFDvTAluVEkC4pYl3W4tBg/3ID48LdcNqIhrN9rttCrEE ts5LtX9MzuCFTGbAP9QzIGNWuWgropJyAZRcrteaWPbeKy+oynsJLWHrvt6MYz/h5NyZ /155gbyPt/CidbNpW/r3x6MtrZmiGOWP76VGQtZmMxKlQ0AVh3xetCscaAs7yGqzu5p/ MpoQ== X-Gm-Message-State: ACrzQf3wWGsSrMVxUrL29slfALNPEr2BQHKfP0Irm0uYhZtbhvW2GCz5 zn+4ur0NH7L37RGCfsmSQef+gQ== X-Received: by 2002:a17:90a:ca13:b0:213:b85a:3bdb with SMTP id x19-20020a17090aca1300b00213b85a3bdbmr21181722pjt.97.1667387514709; Wed, 02 Nov 2022 04:11:54 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:c30f:38e9:6ba:158b]) by smtp.gmail.com with ESMTPSA id z20-20020aa79f94000000b0056246403534sm8251048pfr.88.2022.11.02.04.11.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Nov 2022 04:11:54 -0700 (PDT) From: Hsin-Yi Wang <hsinyi@chromium.org> To: Douglas Anderson <dianders@chromium.org>, Sean Paul <seanpaul@chromium.org> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <mripard@kernel.org>, Thomas Zimmermann <tzimmermann@suse.de>, Daniel Vetter <daniel@ffwll.ch>, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/2] drm/bridge: anx7625: register content protect property Date: Wed, 2 Nov 2022 19:11:47 +0800 Message-Id: <20221102111148.1810314-2-hsinyi@chromium.org> X-Mailer: git-send-email 2.38.0.135.g90850a2211-goog In-Reply-To: <20221102111148.1810314-1-hsinyi@chromium.org> References: <20221102111148.1810314-1-hsinyi@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748382870768604483?= X-GMAIL-MSGID: =?utf-8?q?1748382870768604483?= |
Series |
[v3,1/2] drm_bridge: register content protect property
|
|
Commit Message
Hsin-Yi Wang
Nov. 2, 2022, 11:11 a.m. UTC
Set support_hdcp so the connector can register content protect proterty
when it's initializing.
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
---
drivers/gpu/drm/bridge/analogix/anx7625.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Wed, Nov 02, 2022 at 07:11:47PM +0800, Hsin-Yi Wang wrote: > Set support_hdcp so the connector can register content protect proterty > when it's initializing. > Reviewed-by: Sean Paul <seanpaul@chromium.org> > Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org> > --- > 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 b0ff1ecb80a50..0636ac59c7399 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); > > -- > 2.38.0.135.g90850a2211-goog >
diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c index b0ff1ecb80a50..0636ac59c7399 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);