Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp26946lqp; Sat, 8 Jun 2024 05:02:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVg409VXDHj6lXHgpc4Q49CK3Vt/haMbhH4PE6i1AghdkYYGktJOiZWq56dMM4Ee7NVZsJEkYsoFxK6Hi56/lnNpxbnyC/Er+oyXPCSZA== X-Google-Smtp-Source: AGHT+IEf24fJk3Dxg6qr/CciutrI2T2LR4GYA4oEPvm0+JKnmOMtwizHhxewtkNyyGic7U/M3kBK X-Received: by 2002:a05:6a21:3984:b0:1a9:3cda:dc3c with SMTP id adf61e73a8af0-1b2fa31a519mr5185567637.61.1717848166857; Sat, 08 Jun 2024 05:02:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717848166; cv=pass; d=google.com; s=arc-20160816; b=BQDaLC/f24M51CsGYYg7OJt4LQaQRLplb1BgnZ1GrEL7pJEyhSgwJAYcMy+fOQnVAA TdQcaXsIt7x2SfDkkC0z80u/YRpMSAqZzKOVO12/RyrEmXdPzfBj41vxabI4LkFXGBlE TB+Ai2jiti59ac8xfjdAd1gjEilRyNbS7ZHmdwGjIl86NITOLNedFVcB6JZDT489EE5i HFrIZJF92t2zq8mXuIi2HdV4DfH/FfCcu0wJXjQNw7EUbg0nHSLL6TVRReRi1CkLjQfi K7OenkIbyenPG84JRZvqwW+hmFbK5gtTC9fKJJgpD6gxLcQ6QUMwZYlMXpWajFCKbWKj BOOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=4TsRg2oPuLZTyrFAWx6iQegBDteJk0cn8a+inIOYQzg=; fh=WhjuODKPx+hct0aOs2gsaA1P+XCee5Uk7PgastOwHwE=; b=B8uQfjHckIaj1aJ3w8ydg+7FlaCKWJF5lwxEt1Yn14O7kiCCgpEmFRNR2ueSyNQYCY YWD7AyzmcnCtnMRS5sOjr7d5tuArZmyJw/+tsVw/f+IUX7Voc2wcgEVbOWZrznSPmu2E /0FJwcWstpwnJHsIDBAXzrwkCOQZlk6Qp43WtzpRR0UgiHrfWZY4GCHfITbBv5CskTTd VCRiFsJu/rTS1YAVGkzGi4HpJQJ3UjfP7PrtJic2ihWFb5L/R+Cyy2BlUM3kZBy6stw9 lyythHksOdoNEUI2uVOGUJ5MvmCRHv2VUgZMRCCjfkVER3VDCg/MjI/3CBfyqm441W+S GOfg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kvo7Am+A; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-207023-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207023-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-703fd38f5d8si1444355b3a.51.2024.06.08.05.02.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 05:02:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207023-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kvo7Am+A; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel+bounces-207023-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207023-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6DA67282C1A for ; Sat, 8 Jun 2024 12:02:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B9A4E1779BB; Sat, 8 Jun 2024 12:02:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="kvo7Am+A" Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90AA111718 for ; Sat, 8 Jun 2024 12:02:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=60.244.123.138 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717848158; cv=none; b=KgR4J6PrOnVqv4dvFeUqMKfcQ/yUuyD2YG50f1JLE5GLHjPyA9tIikSrhGWu7VHEN31t2L8lbaiX2it/0RS95kCAh8Gy93hkWKlAxKFi0cwmXODvO8ZCSkB/tz0CXYxuLAQ+HDbX5ZYeaewjnYYKe1Yf8TZzEGsoDjOknBLDthw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717848158; c=relaxed/simple; bh=zIxwHXiS6SpTUl+2k5LDuO/F9RhkXyf0JtQsIPPTqsw=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=PgLQKdv6llR7xMFmtRhWh5NXzeLHcoa4eq4Mjk+xV3TyNUXrqUKhqtb9u5xOz/oIi7rSJyK20yXXaa2rcZ7BJIF4XyiYZ2u/grryE1ndtEL/RQ/TiO0DW8QbGE6Uae9u8NmTeBuj9iFWT3e2Rh15CQSLYryh7AKxjIiqZhxWjxI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=kvo7Am+A; arc=none smtp.client-ip=60.244.123.138 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: f7c264e6258e11efa54bbfbb386b949c-20240608 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=4TsRg2oPuLZTyrFAWx6iQegBDteJk0cn8a+inIOYQzg=; b=kvo7Am+A19V7WJ9l1lO3hJiZ/0b6n/DYpx8KZuFKXyHfsQT1repz7pOG8jprZjGRUh/Gpd6cuRg4mCBnjvmHJ+uy3EkpPYvfXf03APXkPy7sYm4rllwcGtCE/150Q6S5/N6ymUeRjuPu8b2RjXI4YD8i4MGDrHcgfUs1o+vu+O0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.39,REQID:a25be9df-8bda-4832-810e-c18c002187c5,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:393d96e,CLOUDID:db24dd84-4f93-4875-95e7-8c66ea833d57,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1, SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: f7c264e6258e11efa54bbfbb386b949c-20240608 Received: from mtkmbs09n1.mediatek.inc [(172.21.101.35)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 242097160; Sat, 08 Jun 2024 20:02:24 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by MTKMBS09N2.mediatek.inc (172.21.101.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Sat, 8 Jun 2024 05:02:23 -0700 Received: from mszsdhlt06.gcn.mediatek.inc (10.16.6.206) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Sat, 8 Jun 2024 20:02:22 +0800 From: mac.shen To: , , , , , , CC: , , , , , Subject: [PATCH v3 0/3] Add HDCP feature for DisplayPort Date: Sat, 8 Jun 2024 20:01:03 +0800 Message-ID: <20240608120219.21817-1-mac.shen@mediatek.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-MTK: N Add tee client application, HDCP 1.x and 2.x authentication for DisplayPort to support the HDCP feature. mac.shen (3): Subject: [PATCH] drm/mediatek/dp: Add tee client application for HDCP feature Subject: [PATCH] drm/mediatek/dp: Add HDCP2.x feature for DisplayPort Subject: [PATCH] drm/mediatek/dp: Add HDCP1.x feature for DisplayPort drivers/gpu/drm/mediatek/Makefile | 7 +- drivers/gpu/drm/mediatek/mtk_dp.c | 332 ++++++-- drivers/gpu/drm/mediatek/mtk_dp.h | 103 +++ drivers/gpu/drm/mediatek/mtk_dp_hdcp1x.c | 577 ++++++++++++++ drivers/gpu/drm/mediatek/mtk_dp_hdcp1x.h | 17 + drivers/gpu/drm/mediatek/mtk_dp_hdcp2.c | 944 +++++++++++++++++++++++ drivers/gpu/drm/mediatek/mtk_dp_hdcp2.h | 25 + drivers/gpu/drm/mediatek/mtk_dp_reg.h | 11 +- drivers/gpu/drm/mediatek/mtk_dpi.c | 3 + drivers/gpu/drm/mediatek/tci.h | 143 ++++ drivers/gpu/drm/mediatek/tlc_dp_hdcp.c | 595 ++++++++++++++ drivers/gpu/drm/mediatek/tlc_dp_hdcp.h | 133 ++++ 12 files changed, 2805 insertions(+), 85 deletions(-) create mode 100644 drivers/gpu/drm/mediatek/mtk_dp.h create mode 100644 drivers/gpu/drm/mediatek/mtk_dp_hdcp1x.c create mode 100644 drivers/gpu/drm/mediatek/mtk_dp_hdcp1x.h create mode 100644 drivers/gpu/drm/mediatek/mtk_dp_hdcp2.c create mode 100644 drivers/gpu/drm/mediatek/mtk_dp_hdcp2.h create mode 100644 drivers/gpu/drm/mediatek/tci.h create mode 100644 drivers/gpu/drm/mediatek/tlc_dp_hdcp.c create mode 100644 drivers/gpu/drm/mediatek/tlc_dp_hdcp.h -- 2.43.0