Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1312316lqp; Mon, 15 Apr 2024 02:32:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW6dz9qT+STvpUhIShjCIowPr+sSHAy0X8Wy96rH8ggJANDx06+G88dCfQGW0jcs6Z7hnf6u+6S24BBgqumTC+byqfRYYkC5hlL9stJqQ== X-Google-Smtp-Source: AGHT+IFEyBBIw6CjtYfkOyJYOISffTlzystPmYFIfBoP9cccFqpNH1IXhsz97fpU2IrcCF6z+5DD X-Received: by 2002:a05:6402:4582:b0:570:20:e62d with SMTP id ig2-20020a056402458200b005700020e62dmr5690819edb.8.1713173576690; Mon, 15 Apr 2024 02:32:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713173576; cv=pass; d=google.com; s=arc-20160816; b=DY5nJQNirl0J9PNFnewTmWwBjBTdRJAHhxGif0GIshLJq+vU7xJpmmJIxC82CzuctG SQhr9F19iM3n7zbb76AQx+3qMHn5bWczwJrg59bTKTg+xzPnEtWAUBmxxwO1XqPndN3d +nWFDdDffSVd+TDrnR2fOKxXGI4Nlq+0eB6Fx2SuMTDPWHzArSD3t1dP6IGB8A7r7xEF wMi50cMNf8PkCCOxNU2kXOEWtN4rAMU+R9vThac5Re07G/YXVboiRBIJoCPMF7P+UB+t z3edm0icSE+RT2wBOfssZe1m9Y2hUrM9lMzJOz9cgkEg2UAk2ZlAf2V3A1UPy/CAP/nH 6v4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=OFQQ7kdKfU1DpkoVCzcuQmRTCSCa1KHacz9MYlr6A4w=; fh=nPrcnBDw/zwZJf5n+HCUMVqIWqlb/yadS6H8TQ1IS74=; b=b0MgVEc65Vl/gmlCDevWrWodjREyF4Sku46+5u1sOn/JbGUVyqG2H/wCszsdsouT2o efgvbn2KyzyemXBH04HSZysEjny0iRyzp/FQW1y+2K2lmeWOztUoH6HbwxV1d90JMI/p EasZ078m9ok4aQbzz/DdaYjMkuu2EsowKA6J+/wpqPq72/Me1Db6ttq9NPmu2KED3zVA KaHKI6yRfF0ci9Bm1X+zVjRmpFiDsMXLrIwV75AsN+A2uo5FfOKcKY+mnzPteVKDtkdu RsLvz//Qab2ticOv5USs7wUnkR/TP7ty1QRWGE8EtBHYscvY8iMlRo5m3DxJKYCV/v19 DNzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sTO9CrGX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144837-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f7-20020a056402354700b0056e860bd85bsi4407348edd.355.2024.04.15.02.32.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 02:32:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144837-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sTO9CrGX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144837-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6C01D1F21994 for ; Mon, 15 Apr 2024 09:32:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD9523FE2A; Mon, 15 Apr 2024 09:32:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sTO9CrGX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D45603F9EC; Mon, 15 Apr 2024 09:32:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713173566; cv=none; b=erlYRSmYPg/YwFaBVZoSLc8H9Mgm7CdmwG5UZBoXwKWBcxFNCFSeor4HPYMBGxqg82w/8aYP593ebkZ5vziz9EQhuHFgG4Jr87JKpxaPkl8sX1wzbG0UpdRD9Y6SHMkkVdjQZkFxSaUap/3Kvqz7QXzTQfv2XGfNVwb+yKjIui0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713173566; c=relaxed/simple; bh=hrn2Cpax6bG0+tBLHhsKA6HphenkfmI0P4jCJ4Nb38M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ij+cZKUP4/tHwMtr4idJ0MMR93gosnI2Ye13YditzxejCiaDPv2mfOWJQ93rVJQALyAiQC4FOL5/+imkKoRuHX/Sd5MoPmhrARlZhihSjz08sAwQjDhCBJHmXaJbDCXkfGLi52+2WvraMAzOpwc6TvVmjkYzwNrduKXjaXMbetI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sTO9CrGX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E561C113CC; Mon, 15 Apr 2024 09:32:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713173565; bh=hrn2Cpax6bG0+tBLHhsKA6HphenkfmI0P4jCJ4Nb38M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sTO9CrGXjb2iRtX3VcwAqY0jWcf+Q8kFyy3K/cU6keDvqq2q+zQRd87m/PumOKSlT UBLIOMUwLtEuWI2s8KAcwm2cTc+LjwASPSsQbFDJYsNPwSCmCcHS+aqKQ6khKnprMX ynRp1SbmFTCpiRd2rbugH650wz7eqpi9X1RXpPZqEOYV8SE7fIxGeiNiHIJh4Uddmf m0pnLX8zhUU7G6253EQRUFvvD/4yyIEj25K+QzyOl/QmVhaDXVX7ZQU63mE0NJYkCD 9n3g/uT4urnwhy5dPdmLylCaigrWWuJdsMKRI+nxWRi4Fd9zzdt/CWSDzewI8UC7yG 1W6arDroYB4Dg== Date: Mon, 15 Apr 2024 11:32:42 +0200 From: Maxime Ripard To: Shawn Sung Cc: Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Matthias Brugger , AngeloGioacchino Del Regno , Maarten Lankhorst , Thomas Zimmermann , Sumit Semwal , Christian =?utf-8?B?S8O2bmln?= , dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, "Jason-JH.Lin" Subject: Re: [PATCH v5 1/9] drm/mediatek/uapi: Add DRM_MTK_GEM_CREATE_ENCRYPTED flag Message-ID: <20240415-ultramarine-oxpecker-of-completion-8a2298@houat> References: <20240403102701.369-1-shawn.sung@mediatek.com> <20240403102701.369-2-shawn.sung@mediatek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha384; protocol="application/pgp-signature"; boundary="hhxojz7wd43elnlw" Content-Disposition: inline In-Reply-To: <20240403102701.369-2-shawn.sung@mediatek.com> --hhxojz7wd43elnlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Wed, Apr 03, 2024 at 06:26:53PM +0800, Shawn Sung wrote: > From: "Jason-JH.Lin" >=20 > Add DRM_MTK_GEM_CREATE_ENCRYPTED flag to allow user to allocate > a secure buffer to support secure video path feature. >=20 > Signed-off-by: Jason-JH.Lin > Signed-off-by: Hsiao Chien Sung > --- > include/uapi/drm/mediatek_drm.h | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/include/uapi/drm/mediatek_drm.h b/include/uapi/drm/mediatek_= drm.h > index b0dea00bacbc4..e9125de3a24ad 100644 > --- a/include/uapi/drm/mediatek_drm.h > +++ b/include/uapi/drm/mediatek_drm.h > @@ -54,6 +54,7 @@ struct drm_mtk_gem_map_off { > =20 > #define DRM_MTK_GEM_CREATE 0x00 > #define DRM_MTK_GEM_MAP_OFFSET 0x01 > +#define DRM_MTK_GEM_CREATE_ENCRYPTED 0x02 > =20 > #define DRM_IOCTL_MTK_GEM_CREATE DRM_IOWR(DRM_COMMAND_BASE + \ > DRM_MTK_GEM_CREATE, struct drm_mtk_gem_create) That flag doesn't exist in drm-misc-next, which tree is this based on? Maxime --hhxojz7wd43elnlw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJUEABMJAB0WIQTkHFbLp4ejekA/qfgnX84Zoj2+dgUCZhz0MwAKCRAnX84Zoj2+ dn3gAYDXi9cjUdHf2aEBheomLq/GUTf8sVV73EPWmCbpiNi2jzl0oe8c+ikVUjWX 5TiuHpwBgPVRTxUq5IhrqZvI3ysT+Lm44XxAlrk1rkAg3qZzilUjJKsvuAHAp7Qa 7fpwnKIfLg== =wTVi -----END PGP SIGNATURE----- --hhxojz7wd43elnlw--