All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel.vetter@ffwll.ch>
To: Dave Airlie <airlied@gmail.com>
Cc: Wen He <wen.he_1@nxp.com>, Qiang Yu <yuq825@gmail.com>,
	"DRM maintainer tools announcements, discussion,
	and development" <dim-tools@lists.freedesktop.org>,
	Sam Ravnborg <sam@ravnborg.org>, Jonas Karlman <jonas@kwiboo.se>,
	Sean Paul <sean@poorly.run>,
	Intel Graphics Development <intel-gfx@lists.freedesktop.org>,
	Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	Steven Price <steven.price@arm.com>,
	Oleg Vasilev <omrigann@gmail.com>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Robert Chiras <robert.chiras@nxp.com>,
	Jean-Jacques Hiblot <jjhiblot@ti.com>,
	Lowry Li <Lowry.Li@arm.com>,
	Ezequiel Garcia <ezequiel@collabora.com>,
	Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Intel-gfx] [PULL] drm-misc-next
Date: Tue, 22 Oct 2019 09:01:47 +0200	[thread overview]
Message-ID: <CAKMK7uEg38TqUiCQY_KBCVkeA5Z5WB+NawifS34k57NKBVap6g@mail.gmail.com> (raw)
In-Reply-To: <CAPM=9txA+24bz37Xu6ro5RZThV4HTL+niKL6s=TOEq+J7V3F+g@mail.gmail.com>

On Tue, Oct 22, 2019 at 4:17 AM Dave Airlie <airlied@gmail.com> wrote:
>
> On Tue, 22 Oct 2019 at 01:49, Sean Paul <sean@poorly.run> wrote:
> >
> > On Mon, Oct 21, 2019 at 4:11 AM Tomi Valkeinen <tomi.valkeinen@ti.com> wrote:
> > >
> > > Hi,
> > >
> > > On 18/10/2019 23:11, Sean Paul wrote:
> > > > On Fri, Oct 18, 2019 at 9:46 AM Tomi Valkeinen <tomi.valkeinen@ti.com> wrote:
> > > >>
> > > >> Hi Sean,
> > > >>
> > > >> On 17/10/2019 22:26, Sean Paul wrote:
> > > >>
> > > >>> concern for those. The omap OMAP_BO_MEM_* changes though I don't think have
> > > >>> really reached non-TI eyes. There's no link in the commit message to a UAPI
> > > >>> implementation and the only reference I could find is libkmsxx which can set
> > > >>> them through the python bindings. Since this is TI-specific gunk in TI-specific
> > > >>> headers I'm inclined to let it pass, but I would have liked to have this
> > > >>> conversation upfront. I figured I'd call this out so you have final say.
> > > >>
> > > >> There was some discussion about that a few years back when I initially
> > > >> sent the patches, but now that I look, the discussion died before really
> > > >> even starting.
> > > >>
> > > >> This is what I said about userspace implementation:
> > > >>
> > > >>> Yes, unfortunately that is not going to happen. I don't see how this
> > > >>> could be used in a generic system like Weston or X. It's meant for very
> > > >>> specific use cases, where you know exactly the requirements of your
> > > >>> application and the capabilities of the whole system, and optimize based
> > > >>> on that.
> > > >
> > > > Thanks for the context, Tomi.
> > > >
> > > > Indeed it looks like the discussion died, but Laurent still brought up
> > > > the u/s requirement and the patch was effectively dead until Daniel or
> > > > Dave weighed in. I'd expect at least some outreach before pushing the
> > > > patch directly 2+ years later. Has anything changed since then?
> > >
> > > There were new review rounds for the series this summer & autumn, but
> > > no, nothing else. I haven't specifically pinged anyone about the UAPI
> > > changes.
> > >
> > > This series introduces three new flags to an already existing UAPI, and,
> > > for whatever reason, this didn't register to me as a new UAPI, even if
> > > Laurent asked about it some years back.
> > >
> > > So, my mistake.
> > >
> > > The flags are added in a single patch, so I can easily push a revert for
> > > that if this patch is not acceptable. The rest of the series is cleanup.
> > >
> >
> > I'll wait for Dave or Daniel to weigh in on whether they want to take
> > this, otherwise I'll revert before sending the next pull and we can
> > have this conversation on the review.
>
> I'd rather we revert it, just to stick to some semblance of the rules,
> otherwise if we make execptions other people will drive trucks through
> them.

Imo we have driven a truck through the "it's not really new uapi, only
a new flag/field/type added to existing uapi" + "it's obvious this is
the right thing", it's how we got a metric ton of questionable kms
properties.

Also for this case specifically, I'm not seeing why we can't follow
the usual rules:
- lots of gem drivers have buffer allocation/placement hints (it's
kinda the thing ttm is for ...), and they all found some userspace for
it
- _PIN looks suspicious, imo the proper approach is something like
amdgpu's per-ctx persistent working set, which gives you the "look no
pin" fastpath while still being able to manage buffers for real. That
one also yells at you with ENOMEM if the memory doesn't exist, at
alloc time.

tldr; I concur

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2019-10-22  7:02 UTC|newest]

Thread overview: 173+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17 19:26 [PULL] drm-misc-next Sean Paul
2019-10-18 13:45 ` Tomi Valkeinen
2019-10-18 20:11   ` Sean Paul
2019-10-21  8:09     ` Tomi Valkeinen
2019-10-21 15:48       ` Sean Paul
2019-10-22  2:17         ` [Intel-gfx] " Dave Airlie
2019-10-22  7:01           ` Daniel Vetter [this message]
2019-10-24 15:55 Sean Paul
2019-10-24 15:55 ` Sean Paul
2019-10-31 19:30 Sean Paul
2019-10-31 19:30 ` Sean Paul
2019-12-17  8:48 Maarten Lankhorst
2019-12-17 12:59 ` Daniel Vetter
2020-01-02 13:06 Maarten Lankhorst
2020-01-07 11:50 Maarten Lankhorst
2020-01-07 15:25 ` Daniel Vetter
2020-01-10 11:50 Maarten Lankhorst
2020-02-10  9:34 Maxime Ripard
2020-02-21 10:09 Maxime Ripard
2020-02-27 11:32 Maxime Ripard
2020-03-09 13:54 Maxime Ripard
2020-03-17  8:28 Maxime Ripard
2020-04-14  9:07 Thomas Zimmermann
2020-04-21 12:46 ` Thomas Zimmermann
2020-04-21 13:41   ` Daniel Vetter
2020-04-21 14:05     ` Thomas Zimmermann
2020-04-23  8:34 Thomas Zimmermann
2020-05-07  7:25 Thomas Zimmermann
2020-05-14  7:08 Thomas Zimmermann
2020-06-19 15:19 Maarten Lankhorst
2020-06-26 10:52 Maarten Lankhorst
2020-07-02 13:16 Maarten Lankhorst
2020-07-16 11:42 Maarten Lankhorst
2020-07-22 10:38 Maarten Lankhorst
2020-08-20 12:56 Maxime Ripard
2020-08-26 10:02 ` Jani Nikula
2020-08-30  6:05   ` Daniel Vetter
2020-08-27 15:55 Maxime Ripard
2020-09-03 16:06 Maxime Ripard
2020-09-10  8:18 Maxime Ripard
2020-09-18  8:11 Maxime Ripard
2020-09-21 15:29 Maxime Ripard
2020-10-27 10:09 Thomas Zimmermann
2020-10-27 10:11 ` Thomas Zimmermann
2020-11-05 10:16 Thomas Zimmermann
2020-11-12  8:01 Thomas Zimmermann
2020-11-18 12:32 Thomas Zimmermann
2020-11-27  8:30 Thomas Zimmermann
2020-12-17 10:12 Maarten Lankhorst
2021-01-07  9:59 ` Daniel Vetter
2021-01-06 11:13 Maarten Lankhorst
2021-01-07 12:42 ` Daniel Vetter
2021-01-19 11:39 Maarten Lankhorst
2021-01-20 12:11 ` Daniel Vetter
2021-03-03 10:06 Maxime Ripard
2021-03-16  8:03 Maxime Ripard
2021-03-25  9:47 Maxime Ripard
2021-04-01 11:05 Maxime Ripard
2021-04-09  9:00 Maxime Ripard
2021-05-12 14:19 Thomas Zimmermann
2021-05-17 13:17 Thomas Zimmermann
2021-05-17 13:25 ` Thomas Zimmermann
2021-06-01 15:11 Thomas Zimmermann
2021-06-09  7:42 Thomas Zimmermann
2021-06-10 11:15 Thomas Zimmermann
2021-06-10 13:32 ` Daniel Vetter
2021-06-11  6:53   ` Thomas Zimmermann
2021-07-16 11:07 Maarten Lankhorst
2021-07-21  4:03 ` Dave Airlie
2021-07-21  8:44   ` Thomas Zimmermann
2021-07-22 10:46 Maarten Lankhorst
2021-07-29 20:57 Maarten Lankhorst
2021-08-05 10:22 Maarten Lankhorst
2021-08-12 19:34 Maarten Lankhorst
2021-09-16  7:31 Maxime Ripard
2021-09-20 22:29 ` Rob Herring
2021-09-22  7:44   ` Maxime Ripard
2021-09-23  7:45 Maxime Ripard
2021-09-30 11:27 Maxime Ripard
2021-10-06 10:48 Maarten Lankhorst
2021-10-14 12:04 Maxime Ripard
2021-10-14 13:24 ` Hans de Goede
2021-10-14 14:30   ` Hans de Goede
2021-11-18  9:13 Thomas Zimmermann
2021-11-29  8:56 Thomas Zimmermann
2021-12-14  8:53 ` Daniel Vetter
2021-12-09 11:46 Thomas Zimmermann
2021-12-16 14:34 Thomas Zimmermann
2022-01-27 11:57 Maarten Lankhorst
2022-02-01  6:38 ` Dave Airlie
2022-02-01  8:17   ` Maarten Lankhorst
2022-02-01 11:14     ` Thomas Zimmermann
2022-02-22 20:17     ` Thomas Zimmermann
2022-02-23 12:49 Maarten Lankhorst
2022-03-03  9:28 Maarten Lankhorst
2022-04-07  8:59 Maxime Ripard
2022-04-14  7:38 Maxime Ripard
2022-04-21  6:59 Maxime Ripard
2022-04-28  7:52 Maxime Ripard
2022-05-05 13:11 Maxime Ripard
2022-06-08 10:34 Thomas Zimmermann
2022-06-15 18:14 ` Daniel Vetter
2022-06-17  7:21 Thomas Zimmermann
2022-06-23  8:02 Thomas Zimmermann
2022-06-23  8:07 ` Thomas Zimmermann
2022-06-23  8:26   ` Jani Nikula
2022-06-23  8:36     ` Thomas Zimmermann
2022-06-23  8:56       ` Jani Nikula
2022-06-24 22:12         ` Daniel Vetter
2022-06-30  7:19 Thomas Zimmermann
2022-07-07  7:13 Thomas Zimmermann
2022-09-06  6:53 Maarten Lankhorst
2022-09-06 15:20 ` Daniel Vetter
2022-09-09  8:46 Maarten Lankhorst
2022-09-23  7:39 Maxime Ripard
2022-09-30  8:54 Maarten Lankhorst
2022-10-20  7:24 Maxime Ripard
2022-10-27  7:34 Maxime Ripard
2022-11-03  8:34 Maxime Ripard
2022-11-10  8:36 Maxime Ripard
2022-11-17  8:36 Maxime Ripard
2022-11-24  7:46 Maxime Ripard
2023-01-03 10:51 Thomas Zimmermann
2023-01-04 15:18 ` Daniel Vetter
2023-01-12 12:56 Thomas Zimmermann
2023-01-19  8:47 Thomas Zimmermann
2023-01-23 15:00 ` John Paul Adrian Glaubitz
2023-01-23 15:13   ` Thomas Zimmermann
2023-01-23 15:23     ` John Paul Adrian Glaubitz
2023-01-23 15:35       ` Thomas Zimmermann
2023-01-23 15:48         ` John Paul Adrian Glaubitz
2023-02-02 14:54   ` Deucher, Alexander
2023-01-24 16:56 ` Daniel Vetter
2023-01-24 20:02 Thomas Zimmermann
2023-01-26  8:15 Thomas Zimmermann
2023-03-07 10:14 Maarten Lankhorst
2023-03-16 15:39 Maarten Lankhorst
2023-03-23 11:08 Maarten Lankhorst
2023-03-24 19:21 ` Daniel Vetter
2023-03-31 15:42 Maarten Lankhorst
2023-04-03  8:24 ` Daniel Vetter
2023-04-12 13:32 Maarten Lankhorst
2023-04-12 14:24 ` Daniel Vetter
2023-05-11  7:28 Maxime Ripard
2023-05-17 16:44 ` Thomas Zimmermann
2023-05-24 12:42 Thomas Zimmermann
2023-06-01 11:22 Thomas Zimmermann
2023-06-07  8:56 Thomas Zimmermann
2023-07-13  9:08 Thomas Zimmermann
2023-07-18 10:25 ` Daniel Vetter
2023-07-21 14:50 Maxime Ripard
2023-07-27 13:00 ` Daniel Vetter
2023-07-27 12:44 Thomas Zimmermann
2023-07-27 13:10 ` Daniel Vetter
2023-08-03 15:01 Thomas Zimmermann
2023-08-10  8:45 Thomas Zimmermann
2023-09-11 12:45 Maarten Lankhorst
2023-09-27 10:09 Maarten Lankhorst
2023-10-06  8:37 Maarten Lankhorst
2023-10-12  9:40 Maarten Lankhorst
2023-10-19 11:40 Maarten Lankhorst
2023-10-27  7:17 Maarten Lankhorst
2023-11-03 16:37 David Edelsohn
2023-11-06 10:01 ` Thomas Hellström
2023-11-06 10:20   ` Maxime Ripard
2023-11-06 10:37     ` Thomas Hellström
2023-11-06 10:47       ` Thomas Hellström
2023-11-06 10:55       ` Maxime Ripard
2023-11-06 14:57         ` David Edelsohn
2023-11-17  9:41 Maxime Ripard
2023-11-20  9:31 ` Daniel Vetter
2023-11-23 12:58 Maxime Ripard
2023-11-23 19:40 ` Daniel Vetter
2023-11-30  9:15 Maxime Ripard
2023-12-07  9:59 Maxime Ripard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKMK7uEg38TqUiCQY_KBCVkeA5Z5WB+NawifS34k57NKBVap6g@mail.gmail.com \
    --to=daniel.vetter@ffwll.ch \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=Lowry.Li@arm.com \
    --cc=Rodrigo.Siqueira@amd.com \
    --cc=airlied@gmail.com \
    --cc=dim-tools@lists.freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=ezequiel@collabora.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jjhiblot@ti.com \
    --cc=jonas@kwiboo.se \
    --cc=kraxel@redhat.com \
    --cc=omrigann@gmail.com \
    --cc=robert.chiras@nxp.com \
    --cc=sam@ravnborg.org \
    --cc=sean@poorly.run \
    --cc=steven.price@arm.com \
    --cc=tomi.valkeinen@ti.com \
    --cc=tzimmermann@suse.de \
    --cc=wen.he_1@nxp.com \
    --cc=yuq825@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.