lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d4b15c6cdec777f8e930473983914ba52457a30d.camel@mediatek.com>
Date: Mon, 8 Apr 2024 09:49:18 +0000
From: CK Hu (胡俊光) <ck.hu@...iatek.com>
To: "wmacek@...omium.org" <wmacek@...omium.org>,
	"linux-mediatek@...ts.infradead.org" <linux-mediatek@...ts.infradead.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"chrome-platform@...ts.linux.dev" <chrome-platform@...ts.linux.dev>,
	"chunkuang.hu@...nel.org" <chunkuang.hu@...nel.org>, "daniel@...ll.ch"
	<daniel@...ll.ch>, "p.zabel@...gutronix.de" <p.zabel@...gutronix.de>,
	"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
	"airlied@...il.com" <airlied@...il.com>,
	"linux-arm-kernel@...ts.infradead.org"
	<linux-arm-kernel@...ts.infradead.org>, "matthias.bgg@...il.com"
	<matthias.bgg@...il.com>, "angelogioacchino.delregno@...labora.com"
	<angelogioacchino.delregno@...labora.com>
Subject: Re: [PATCH] drm/mediatek: Add RENDER capability to DRM device

Hi, Wojciech:

On Tue, 2024-04-02 at 07:53 +0000, Wojciech Macek wrote:
>  	 
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>  DRM device shall create /dev/dri/renderXXX entry
> to allow ChromeOS VMs to access the OpenGL rendering
> offload.

I think this is the case Daniel mention in [1]. If so, this should not
upstream. 

[1] 
https://patchwork.kernel.org/project/dri-devel/patch/1452611750-16283-15-git-send-email-p.zabel@pengutronix.de/

Regards,
CK

> 
> Signed-off-by: Wojciech Macek <wmacek@...omium.org>
> ---
>  drivers/gpu/drm/mediatek/mtk_drm_drv.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> index 74832c213092..afa4d6391b08 100644
> --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> @@ -585,7 +585,8 @@ static struct drm_gem_object
> *mtk_drm_gem_prime_import(struct drm_device *dev,
>  }
>  
>  static const struct drm_driver mtk_drm_driver = {
> -	.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_ATOMIC,
> +	.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_ATOMIC
> |
> +			   DRIVER_RENDER,
>  
>  	.dumb_create = mtk_drm_gem_dumb_create,
>  
> -- 
> 2.44.0.478.gd926399ef9-goog
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ