From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A0C3C433DF for ; Mon, 8 Jun 2020 16:05:26 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2B8542063A for ; Mon, 8 Jun 2020 16:05:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eFC3YfbY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2B8542063A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 26A7D89E23; Mon, 8 Jun 2020 16:05:25 +0000 (UTC) Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0C00C89E23 for ; Mon, 8 Jun 2020 16:05:24 +0000 (UTC) Received: by mail-lj1-x243.google.com with SMTP id 9so11540691ljv.5 for ; Mon, 08 Jun 2020 09:05:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version; bh=muu5X8kpwjspMUSxGgXvhpOJZVBidoTxcsK/ci24bWA=; b=eFC3YfbY4L+dO2jOW3bmJcf7rXd9D49rtwaG8ljF9y7NtTlLQe5x1gLVtmucNuqmsr OTW5ASVyRt3rJP6LoG4TWMr59QRAomXe6ySEfkVa6oSAZ1ru+gFvA4kh0QaW/DyvgYiQ i0JUhicVLJWbwQmebUopVilx3NDH+1CP1a5OwiC0ka5WFTgDZNOJVaGzYkRlNZw8lL68 Dhek7uethgWPW+g+nyhoPgppEBMD7GHEohhT+Exi+URNYKmXzPmsrmvUy6G414TRosOc jfXzEzZmsM7AZkw6IS+HP7KA1EOfIH4YlVSmynjEpRIekwwzwGGnwTtQDiYIHU/FONK9 VtUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version; bh=muu5X8kpwjspMUSxGgXvhpOJZVBidoTxcsK/ci24bWA=; b=q4GsFSbhTu5ikPFiqiGU6li9D4rYBhEk9iVkJlf5PVJxOLGYR9fjqvnhYZY1QT1X/z DUSautPxNDg3h8vxqRxJELevR6UqsNaKLo+AmwH0TGDlc/vunmc94AwdvlMA5YEOLPrt Kvq1yvHFQDhmGCJSlBNXe4uPt/hmjYR9VDSUdLic/mkWocvImvjG2zFXSvYsGropKZid 0+MP6WaIZccf9ZJ/yXo96uzghO+nvnu4yRWc1Z6YB+juabDahTXuscWmu6+RIhDpi1+u 9/C1Dhz0GWVL5h4PYxUvEOpN8Ra+HsWD0nBnKSEgECJaCaxCRh0seJUu/gcFHq6qQulo OarA== X-Gm-Message-State: AOAM532vOdO9m37YXPWIg1pbdnCO0Mjyaw96RSWXSsBGkXF0PdliwtQB lYW5RU075Yb5InTWiY20whEOhPSu X-Google-Smtp-Source: ABdhPJy4bDj8cAibRW5HyFKVhcFy0LBFsOjPIIEiU2ni7zfoUMWOP4Ge/VktH9cTAs432JLuBSXQKA== X-Received: by 2002:a05:651c:1045:: with SMTP id x5mr11118155ljm.153.1591632322068; Mon, 08 Jun 2020 09:05:22 -0700 (PDT) Received: from ferris.localdomain (85-156-247-180.elisa-laajakaista.fi. [85.156.247.180]) by smtp.gmail.com with ESMTPSA id f12sm3775010ljk.44.2020.06.08.09.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 09:05:21 -0700 (PDT) Date: Mon, 8 Jun 2020 19:05:18 +0300 From: Pekka Paalanen To: dri-devel@lists.freedesktop.org Subject: Re: [PATCH v3] drm/doc: device hot-unplug for userspace Message-ID: <20200608190518.05d7d15d@ferris.localdomain> In-Reply-To: <20200601143203.14666-1-ppaalanen@gmail.com> References: <20200519100649.12053-1-ppaalanen@gmail.com> <20200601143203.14666-1-ppaalanen@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sean Paul , Dave Airlie Content-Type: multipart/mixed; boundary="===============0721084924==" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --===============0721084924== Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/zuu15iTXhm45SMp6Gi+yBr/"; protocol="application/pgp-signature" --Sig_/zuu15iTXhm45SMp6Gi+yBr/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 1 Jun 2020 17:32:03 +0300 Pekka Paalanen wrote: > Set up the expectations on how hot-unplugging a DRM device should look li= ke to > userspace. >=20 > Written by Daniel Vetter's request and largely based on his comments in I= RC and > from https://lists.freedesktop.org/archives/dri-devel/2020-May/265484.htm= l . >=20 > A related Wayland protocol change proposal is at > https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests= /35 >=20 > Signed-off-by: Pekka Paalanen Hi, how's this version looking? Anything to fix? Thanks, pq >=20 > --- >=20 > v3: > - update ENODEV doc (Daniel) > - clarify existing vs. new mmaps (Andrey) > - split into KMS and render/cross sections (Andrey, Daniel) > - open() returns ENXIO (open(2) man page) > - ioctls may return ENODEV (Andrey, Daniel) > - new wayland-protocols MR >=20 > v2: > - mmap reads/writes undefined (Daniel) > - make render ioctl behaviour driver-specific (Daniel) > - restructure the mmap paragraphs (Daniel) > - chardev minor notes (Simon) > - open behaviour (Daniel) > - DRM leasing behaviour (Daniel) > - added links >=20 > Disclaimer: I am a userspace developer writing for other userspace develo= pers. > I took some liberties in defining what should happen without knowing what= is > actually possible or what existing drivers already implement. > --- > Documentation/gpu/drm-uapi.rst | 114 ++++++++++++++++++++++++++++++++- > 1 file changed, 113 insertions(+), 1 deletion(-) Sorry to trim like this, but gmail refuses to send my email otherwise. --Sig_/zuu15iTXhm45SMp6Gi+yBr/ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJQjwWQChkWOYOIONI1/ltBGqqqcFAl7eYb4ACgkQI1/ltBGq qqeFdxAAnRZEjkc/PrAe6soZTbi62XHZBzf+txhaDDCmRoevdLoMKYB6X6j7fHd4 x66X6V9v6xvMSAS86eCJj0rC4kOdXtSdhmQ3IwF7IehIcYlWW+8NcBt5eIZHx920 XMreW2HQ2LmuQhQUTfvwFcqGivKiPVFszjS9WR0QGUolIZiZCw5OsMje1Z73rH4V 1jGjJEulUoLIqu/nRxnKgYqjB+Phq3HhTmLSsdtLx2W1ad7lxUWFCik3tptSf8GY Xz2OtLaUSX00JI5Z5dbhjkZEksfQ+rExGpp6eaUHSwrPuXheOlTQe9TkDPoTRI4+ /cMBm/HH20205T4ycWUFscqA6Iuw6pN7ArfKzi6q1M5DI1q5Ggy+eJ47ta17KtAd 3dTNCcNA22qZxyCUzqiv7/X0V3UZD40hs6S2F3FZfFklPfL1yA0aUQGkApz7+NsM 0Guz6WEjtWP8WyjTm/1gJ8eLzRosyVATKyCKilZu4BdMMBRr+8EaM1KmiPJi6jen EWho2zMkNAMmij0nGJfJdlCz8GJ41wG0ijl41EGo4bvr1fl2a9cGnyeb7x+KS+th zLOWcBdC6ZjHnZB6xGQ1b8wllwyucxs10Z3EEPuG0p7oOFNc2stc9Y477wFx5DRN SIXZ0qC2LYlcoZt9wHE/J3JoHMwAmJen7ptuhxUQu6jsRwTmu4I= =GZNY -----END PGP SIGNATURE----- --Sig_/zuu15iTXhm45SMp6Gi+yBr/-- --===============0721084924== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0721084924==--