<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto">
<div><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">Am 03.07.2019 16:51 schrieb Emil Velikov <emil.l.velikov@gmail.com>:<br type="attribution">
<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><font size="2"><span style="font-size:11pt">
<div>On Wed, 3 Jul 2019 at 15:33, Koenig, Christian <Christian.Koenig@amd.com> wrote:<br>
> Am 03.07.2019 16:00 schrieb Emil Velikov <emil.l.velikov@gmail.com>:<br>
><br>
> On Wed, 3 Jul 2019 at 14:48, Koenig, Christian <Christian.Koenig@amd.com> wrote:<br>
> ><br>
> > Well this is still a NAK.<br>
> ><br>
> > As stated previously please just don't remove DRM_AUTH and keep the functionality as it is.<br>
> ><br>
> AFAICT nobody was in favour of your suggestion to remove DRM_AUTH from<br>
> the handle to/from fd ioclts.<br>
> Thus this seems like the second best option.<br>
><br>
><br>
> Well just keep it. As I said please don't change anything here.<br>
><br>
> Dropping DRM_AUTH from the driver IOCTLs was sufficient to work around the problems at hand far as I know.<br>
><br>
We also need the DRM_AUTH for handle to/from fd ones. Mesa drivers use<br>
those ioctls.<br>
</div>
</span></font></div>
</blockquote>
</div>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">Yeah, but only for importing/exporting things.</div>
<div dir="auto"><br>
</div>
<div dir="auto">And in those cases we either already gave render nodes or correctly authenticated primary nodes.</div>
<div dir="auto"><br>
</div>
<div dir="auto">So no need to change anything here as far as I see.</div>
<div dir="auto"><br>
</div>
<div dir="auto">I simply want to prevent that userspace gets the same functionality from the primary node they get from the render node. And that actually seems to be a good way to keep the restriction and still work around the userspace problems.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Christian.</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><font size="2"><span style="font-size:11pt">
<div><br>
-Emil<br>
</div>
</span></font></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>