All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: j.glisse@gmail.com
Cc: thellstrom@vmware.com, dri-devel@lists.freedesktop.org
Subject: Re: ttm: merge ttm_backend & ttm_tt, introduce ttm dma allocator
Date: Mon, 7 Nov 2011 12:50:07 -0500	[thread overview]
Message-ID: <20111107175007.GA26800@phenom.dumpdata.com> (raw)
In-Reply-To: <1320363555-28438-1-git-send-email-j.glisse@gmail.com>

On Thu, Nov 03, 2011 at 07:39:04PM -0400, j.glisse@gmail.com wrote:
> Hi,
> 
> So updated patchset, only patch 5 seen change since last set.
> Last 3 patch are from your patchset, modified on top of mine.

Yup, and I've tested it on my radeon box. Going to test it
on the nvidia and some of the 32-bit troublesome cards.

Will need a patch to enable the TTM DMA under the nouveau
driver too, but I can spin that up.

> 
> Konrad so i added you dma pool allocator on top of that
> and added support for it to radeon. All in all it's slightly
> smaller than your patchset.

It is! Thank you.
> 
> Biggest change is use of a list_head in ttm_tt to keep the
> dma_page list inside the ttm_tt object allowing faster and
> lot simpler deallocation of page.

Yup.
> 
> I only briefly test this code, it seems ok so far. Did you
> tested booting kernel with swiotlb=force and with your patchset ?
> Because here it doesn't work. I still don't understand why
> swiotlb want to create a bounce page when the page supplied
> fit the constraint. Need to dig into kernel history to see if
> there is any good reasons for that.

I think you found out why.. the force, does force every page.

> 
> Otherwise i believe this whole patchset make things cleaner
> and simpler for ttm.

<nods> So do I.

Let me run it throught some of the machines this week to get
that extra comfortable feeling.

> 
> Cheers,
> Jerome Glisse

  parent reply	other threads:[~2011-11-07 17:50 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03 23:39 ttm: merge ttm_backend & ttm_tt, introduce ttm dma allocator j.glisse
2011-11-03 23:39 ` [PATCH 01/11] drm/ttm: remove userspace backed ttm object support j.glisse
2011-11-03 23:39 ` [PATCH 02/11] drm/ttm: remove split btw highmen and lowmem page j.glisse
2011-11-03 23:39 ` [PATCH 03/11] drm/ttm: remove unused backend flags field j.glisse
2011-11-03 23:39 ` [PATCH 04/11] drm/ttm: use ttm put pages function to properly restore cache attribute j.glisse
2011-11-03 23:39 ` [PATCH 05/11] drm/ttm: convert page allocation to use page ptr array instead of list V3 j.glisse
2011-11-03 23:39 ` [PATCH 06/11] drm/ttm: test for dma_address array allocation failure j.glisse
2011-11-03 23:39 ` [PATCH 07/11] drm/ttm: merge ttm_backend and ttm_tt j.glisse
2011-11-07 14:39   ` Konrad Rzeszutek Wilk
2011-11-03 23:39 ` [PATCH 08/11] drm/ttm: introduce callback for ttm_tt populate & unpopulate j.glisse
2011-11-07 14:40   ` Konrad Rzeszutek Wilk
2011-11-07 17:35   ` Rob Clark
2011-11-07 19:39     ` Jerome Glisse
2011-11-07 20:17     ` Alex Deucher
2011-11-03 23:39 ` [PATCH 09/11] ttm: Provide DMA aware TTM page pool code j.glisse
2011-11-03 23:39 ` [PATCH 10/11] swiotlb: Expose swiotlb_nr_tlb function to modules j.glisse
2011-11-03 23:39 ` [PATCH 11/11] drm/radeon/kms: Enable the TTM DMA pool if swiotlb is on j.glisse
2011-11-07 17:50 ` Konrad Rzeszutek Wilk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-11-09 20:22 ttm: merge ttm_backend & ttm_tt, introduce ttm dma allocator j.glisse
2011-11-09 20:25 ` Thomas Hellstrom
2011-11-09 21:03   ` Jerome Glisse

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=20111107175007.GA26800@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=j.glisse@gmail.com \
    --cc=thellstrom@vmware.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.