All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
To: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	Oded Gabbay <ogabbay@kernel.org>,
	dri-devel@lists.freedesktop.org, Dave Airlie <airlied@redhat.com>,
	intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 0/1] drm: Add a gpu page-table walker
Date: Mon, 27 Feb 2023 16:07:36 +0100	[thread overview]
Message-ID: <20230227150736.GE3547587@linux.intel.com> (raw)
In-Reply-To: <42b04315-182d-227d-b2a8-cc09bcbe3ac3@linux.intel.com>

On Mon, Feb 27, 2023 at 09:09:14AM +0100, Thomas Hellström wrote:
> Hi, Oded.
> 
> On 2/26/23 19:56, Oded Gabbay wrote:
> > On Thu, Feb 23, 2023 at 8:50 PM Alex Deucher <alexdeucher@gmail.com> wrote:
> > > On Thu, Feb 23, 2023 at 10:03 AM Thomas Hellström
> > > <thomas.hellstrom@linux.intel.com> wrote:
> > > > Hi, Daniel,
> > > > 
> > > > On 2/16/23 21:18, Daniel Vetter wrote:
> > > > > On Thu, Feb 16, 2023 at 05:27:28PM +0100, Thomas Hellström wrote:
> > > > > > A slightly unusual cover letter for a single patch.
> > > > > > 
> > > > > > The page table walker is currently used by the xe driver only,
> > > > > > but the code is generic so we can be good citizens and add it to drm
> > > > > > as a helper, for possible use by other drivers,
> > > > > > If so we can merge the commit when we merge the xe driver.
> > > > > > 
> > > > > > The question raised here is
> > > > > > *) Should it be a generic drm helper or xe-specific with changed
> > > > > >      prefixes?
> > > > > I think if there's some other drivers interested in using this, then this
> > > > > sounds like a good idea. Maybe more useful if it's also integrated into
> > > > > the vm/vma helpers that are being discussed as an optional part?
> > > > > 
> > > > > Maybe some good old sales pitching here to convince people would be good.
> > > > > 
> > > > > Maybe one of the new accel drivers is interested in this too?
> > Hi,
> > As the habanalabs driver is not really a new driver, I currently don't
> > see the benefit of moving
> > to this code. Our pgt code is quite mature and was tested extensively
> > in deployment in the
> > past couple of years.
> > 
> > Nevertheless, I'll try to offer this code for any new/future driver
> > that will want to join accel.
> > 
> > Stanislaw, I'm adding you here in case you missed this. Might be of an
> > interest to you.

Rewrite table walk will not give the ivpu driver much, perhaps one function
would be smaller. Nothing that would justify the effort IMO.

> Thanks for taking a look. Yes, as also mentioned to Alex, I think we'll keep
> this in xe for now.

Sounds good :-)

Regards
Stanislaw

WARNING: multiple messages have this Message-ID (diff)
From: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
To: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	Oded Gabbay <ogabbay@kernel.org>,
	dri-devel@lists.freedesktop.org, Dave Airlie <airlied@redhat.com>,
	intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Subject: Re: [Intel-xe] [PATCH 0/1] drm: Add a gpu page-table walker
Date: Mon, 27 Feb 2023 16:07:36 +0100	[thread overview]
Message-ID: <20230227150736.GE3547587@linux.intel.com> (raw)
In-Reply-To: <42b04315-182d-227d-b2a8-cc09bcbe3ac3@linux.intel.com>

On Mon, Feb 27, 2023 at 09:09:14AM +0100, Thomas Hellström wrote:
> Hi, Oded.
> 
> On 2/26/23 19:56, Oded Gabbay wrote:
> > On Thu, Feb 23, 2023 at 8:50 PM Alex Deucher <alexdeucher@gmail.com> wrote:
> > > On Thu, Feb 23, 2023 at 10:03 AM Thomas Hellström
> > > <thomas.hellstrom@linux.intel.com> wrote:
> > > > Hi, Daniel,
> > > > 
> > > > On 2/16/23 21:18, Daniel Vetter wrote:
> > > > > On Thu, Feb 16, 2023 at 05:27:28PM +0100, Thomas Hellström wrote:
> > > > > > A slightly unusual cover letter for a single patch.
> > > > > > 
> > > > > > The page table walker is currently used by the xe driver only,
> > > > > > but the code is generic so we can be good citizens and add it to drm
> > > > > > as a helper, for possible use by other drivers,
> > > > > > If so we can merge the commit when we merge the xe driver.
> > > > > > 
> > > > > > The question raised here is
> > > > > > *) Should it be a generic drm helper or xe-specific with changed
> > > > > >      prefixes?
> > > > > I think if there's some other drivers interested in using this, then this
> > > > > sounds like a good idea. Maybe more useful if it's also integrated into
> > > > > the vm/vma helpers that are being discussed as an optional part?
> > > > > 
> > > > > Maybe some good old sales pitching here to convince people would be good.
> > > > > 
> > > > > Maybe one of the new accel drivers is interested in this too?
> > Hi,
> > As the habanalabs driver is not really a new driver, I currently don't
> > see the benefit of moving
> > to this code. Our pgt code is quite mature and was tested extensively
> > in deployment in the
> > past couple of years.
> > 
> > Nevertheless, I'll try to offer this code for any new/future driver
> > that will want to join accel.
> > 
> > Stanislaw, I'm adding you here in case you missed this. Might be of an
> > interest to you.

Rewrite table walk will not give the ivpu driver much, perhaps one function
would be smaller. Nothing that would justify the effort IMO.

> Thanks for taking a look. Yes, as also mentioned to Alex, I think we'll keep
> this in xe for now.

Sounds good :-)

Regards
Stanislaw

WARNING: multiple messages have this Message-ID (diff)
From: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
To: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	Oded Gabbay <ogabbay@kernel.org>,
	dri-devel@lists.freedesktop.org, Dave Airlie <airlied@redhat.com>,
	intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Subject: Re: [PATCH 0/1] drm: Add a gpu page-table walker
Date: Mon, 27 Feb 2023 16:07:36 +0100	[thread overview]
Message-ID: <20230227150736.GE3547587@linux.intel.com> (raw)
In-Reply-To: <42b04315-182d-227d-b2a8-cc09bcbe3ac3@linux.intel.com>

On Mon, Feb 27, 2023 at 09:09:14AM +0100, Thomas Hellström wrote:
> Hi, Oded.
> 
> On 2/26/23 19:56, Oded Gabbay wrote:
> > On Thu, Feb 23, 2023 at 8:50 PM Alex Deucher <alexdeucher@gmail.com> wrote:
> > > On Thu, Feb 23, 2023 at 10:03 AM Thomas Hellström
> > > <thomas.hellstrom@linux.intel.com> wrote:
> > > > Hi, Daniel,
> > > > 
> > > > On 2/16/23 21:18, Daniel Vetter wrote:
> > > > > On Thu, Feb 16, 2023 at 05:27:28PM +0100, Thomas Hellström wrote:
> > > > > > A slightly unusual cover letter for a single patch.
> > > > > > 
> > > > > > The page table walker is currently used by the xe driver only,
> > > > > > but the code is generic so we can be good citizens and add it to drm
> > > > > > as a helper, for possible use by other drivers,
> > > > > > If so we can merge the commit when we merge the xe driver.
> > > > > > 
> > > > > > The question raised here is
> > > > > > *) Should it be a generic drm helper or xe-specific with changed
> > > > > >      prefixes?
> > > > > I think if there's some other drivers interested in using this, then this
> > > > > sounds like a good idea. Maybe more useful if it's also integrated into
> > > > > the vm/vma helpers that are being discussed as an optional part?
> > > > > 
> > > > > Maybe some good old sales pitching here to convince people would be good.
> > > > > 
> > > > > Maybe one of the new accel drivers is interested in this too?
> > Hi,
> > As the habanalabs driver is not really a new driver, I currently don't
> > see the benefit of moving
> > to this code. Our pgt code is quite mature and was tested extensively
> > in deployment in the
> > past couple of years.
> > 
> > Nevertheless, I'll try to offer this code for any new/future driver
> > that will want to join accel.
> > 
> > Stanislaw, I'm adding you here in case you missed this. Might be of an
> > interest to you.

Rewrite table walk will not give the ivpu driver much, perhaps one function
would be smaller. Nothing that would justify the effort IMO.

> Thanks for taking a look. Yes, as also mentioned to Alex, I think we'll keep
> this in xe for now.

Sounds good :-)

Regards
Stanislaw

  reply	other threads:[~2023-02-27 15:07 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-16 16:27 [Intel-gfx] [PATCH 0/1] drm: Add a gpu page-table walker Thomas Hellström
2023-02-16 16:27 ` Thomas Hellström
2023-02-16 16:27 ` [Intel-xe] " Thomas Hellström
2023-02-16 16:27 ` [Intel-gfx] [PATCH 1/1] drm: Add a gpu page-table walker helper Thomas Hellström
2023-02-16 16:27   ` Thomas Hellström
2023-02-16 16:27   ` [Intel-xe] " Thomas Hellström
2023-02-16 19:21 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm: Add a gpu page-table walker Patchwork
2023-02-16 19:47 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-02-16 20:18 ` [Intel-gfx] [PATCH 0/1] " Daniel Vetter
2023-02-16 20:18   ` Daniel Vetter
2023-02-16 20:18   ` [Intel-xe] " Daniel Vetter
2023-02-23 14:38   ` [Intel-gfx] " Thomas Hellström
2023-02-23 14:38     ` Thomas Hellström
2023-02-23 14:38     ` [Intel-xe] " Thomas Hellström
2023-02-23 18:50     ` [Intel-gfx] " Alex Deucher
2023-02-23 18:50       ` Alex Deucher
2023-02-23 18:50       ` [Intel-xe] " Alex Deucher
2023-02-26 18:56       ` [Intel-gfx] " Oded Gabbay
2023-02-26 18:56         ` Oded Gabbay
2023-02-26 18:56         ` [Intel-xe] " Oded Gabbay
2023-02-27  8:09         ` [Intel-gfx] " Thomas Hellström
2023-02-27  8:09           ` Thomas Hellström
2023-02-27  8:09           ` [Intel-xe] " Thomas Hellström
2023-02-27 15:07           ` Stanislaw Gruszka [this message]
2023-02-27 15:07             ` Stanislaw Gruszka
2023-02-27 15:07             ` [Intel-xe] " Stanislaw Gruszka
2023-02-27  8:07       ` [Intel-gfx] " Thomas Hellström
2023-02-27  8:07         ` Thomas Hellström
2023-02-27  8:07         ` [Intel-xe] " Thomas Hellström

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=20230227150736.GE3547587@linux.intel.com \
    --to=stanislaw.gruszka@linux.intel.com \
    --cc=airlied@redhat.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=ogabbay@kernel.org \
    --cc=thomas.hellstrom@linux.intel.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.