All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Koenig, Christian" <Christian.Koenig-5C7GfCeVMHo@public.gmane.org>
To: Daniel Vetter <daniel-/w4YWyX8dFk@public.gmane.org>
Cc: "Jiang, Sonny" <Sonny.Jiang-5C7GfCeVMHo@public.gmane.org>,
	dri-devel
	<dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
	"amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
	<amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
	"Marek Olšák" <maraeo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	"Jani Nikula"
	<jani.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Subject: Re: [PATCH] drm: add drm device name
Date: Tue, 17 Sep 2019 08:23:17 +0000	[thread overview]
Message-ID: <7540df63-e623-19b0-dde5-b89ff2b7fb89@amd.com> (raw)
In-Reply-To: <CAKMK7uEj4FZ3YQqG-cCTa4EEaJoAk09Zaz398F9Hmo+mdXCKiw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Am 17.09.19 um 10:17 schrieb Daniel Vetter:
> On Tue, Sep 17, 2019 at 10:12 AM Christian König
> <ckoenig.leichtzumerken@gmail.com> wrote:
>> Am 17.09.19 um 07:47 schrieb Jani Nikula:
>>> On Mon, 16 Sep 2019, Marek Olšák <maraeo@gmail.com> wrote:
>>>> The purpose is to get rid of all PCI ID tables for all drivers in
>>>> userspace. (or at least stop updating them)
>>>>
>>>> Mesa common code and modesetting will use this.
>>> I'd think this would warrant a high level description of what you want
>>> to achieve in the commit message.
>> And maybe explicitly call it uapi_name or even uapi_driver_name.
> If it's uapi_name, then why do we need a new one for every generation?
> Userspace drivers tend to span a lot more than just 1 generation. And
> if you want to have per-generation data from the kernel to userspace,
> then imo that's much better suited in some amdgpu ioctl, instead of
> trying to encode that into the driver name.

Well we already have an IOCTL for that, but I thought the intention here 
was to get rid of the PCI-ID tables in userspace to figure out which 
driver to load.

I mean it could be perfectly valid to not only match the kernel, but 
also the hardware generation for that.

Christian.

> -Daniel

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2019-09-17  8:23 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-03 21:41 [PATCH] drm: add drm device name Jiang, Sonny
     [not found] ` <20190903214040.2386-1-sonny.jiang-5C7GfCeVMHo@public.gmane.org>
2019-09-06 22:15   ` Marek Olšák
2019-09-07  1:18     ` Rob Clark
     [not found]       ` <CAF6AEGvvUUOGujJC9P3t72N93AJuxiiVt0OAk8zf226Q8WmHvg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-09-07 19:47         ` Daniel Vetter
2019-09-09 10:13           ` Jani Nikula
     [not found]           ` <CAKMK7uHFNhdNY4Y9ZFMNuci7gssPWCT5f5y=e4npg8s5r_jBdQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-09-17  0:06             ` Marek Olšák
     [not found]               ` <CAAxE2A6sESsKAi3K1etAZeCwAPgexn099G6g0aJQnavTkiH+mA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-09-17  5:47                 ` Jani Nikula
     [not found]                   ` <87woe7eanv.fsf-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2019-09-17  8:12                     ` Christian König
2019-09-17  8:17                       ` Daniel Vetter
     [not found]                         ` <CAKMK7uEj4FZ3YQqG-cCTa4EEaJoAk09Zaz398F9Hmo+mdXCKiw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-09-17  8:23                           ` Koenig, Christian [this message]
     [not found]                             ` <7540df63-e623-19b0-dde5-b89ff2b7fb89-5C7GfCeVMHo@public.gmane.org>
2019-09-17  9:23                               ` Michel Dänzer
2019-09-17  9:27                                 ` Michel Dänzer
     [not found]                                   ` <5d0a8619-7073-fac2-cdd6-83b55221140b-otUistvHUpPR7s880joybQ@public.gmane.org>
2019-09-17 11:20                                     ` Christian König
2019-09-17 14:33                                       ` Michel Dänzer
     [not found]                                         ` <4d255e1c-1d4a-a754-afe0-b18776a11a7e-otUistvHUpPR7s880joybQ@public.gmane.org>
2019-09-17 23:41                                           ` Marek Olšák
     [not found]                                             ` <CAAxE2A7RcsiEsWBtbsDE2Wp+Vx7n-vwM1qL6HX_qKt=KnHCd4g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-09-18 14:03                                               ` Michel Dänzer
2019-09-18 20:10                                                 ` Marek Olšák
2019-09-18 21:13                                                   ` Marek Olšák
2019-09-17 11:32                                     ` Daniel Vetter
2019-09-18  6:57                                       ` Pekka Paalanen

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=7540df63-e623-19b0-dde5-b89ff2b7fb89@amd.com \
    --to=christian.koenig-5c7gfcevmho@public.gmane.org \
    --cc=Sonny.Jiang-5C7GfCeVMHo@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=daniel-/w4YWyX8dFk@public.gmane.org \
    --cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=jani.nikula-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    --cc=maraeo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /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.