All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mario Kleiner <mario.kleiner.de@gmail.com>
To: "Marek Olšák" <maraeo@gmail.com>, "Michel Dänzer" <michel@daenzer.net>
Cc: "Deucher, Alexander" <alexander.deucher@amd.com>,
	Dave Airlie <airlied@redhat.com>,
	Jerome Glisse <jglisse@redhat.com>,
	Ben Skeggs <bskeggs@redhat.com>,
	dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: "Fixes" for page flipping under PRIME on AMD & nouveau
Date: Fri, 26 Aug 2016 22:10:40 +0200	[thread overview]
Message-ID: <f823a2b4-b0e1-f857-9f65-f30abc618d57@gmail.com> (raw)
In-Reply-To: <CAAxE2A41KjTP+GvGAt_GuTvJfRsdsqVNPUWD27zKk04UczGD6g@mail.gmail.com>

On 08/18/2016 09:21 PM, Marek Olšák wrote:
> On Thu, Aug 18, 2016 at 4:23 AM, Michel Dänzer <michel@daenzer.net> wrote:
>> Maybe the rasterization as two triangles results in bad PCIe bandwidth
>> utilization. Using the asynchronous DMA engine for these transfers would
>> probably be ideal, but having the 3D engine rasterize a single rectangle
>> (either using the rectangle primitive or a large triangle with scissor)
>> might already help.
>
> There is only one thing that's bad for PCIe when the surface is
> linear: the 3D engine. Disabling all but the first shader engine and
> all but the first 2 RBs should improve performance for blits from VRAM
> to GTT. The closed driver does that, but I don't remember if the
> destination must be linear, must be in GTT, or both. In any case, SDMA
> should still be the best for VRAM->GTT blits.
>
> Marek
>

Friday evening education question:

So if you have multiple render backends active they compete for PCIe bus 
access and some kind of "trashing" happens in the arbitration, 
drastically reducing the bandwidth?

thanks,
-mario
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2016-08-26 20:10 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-17 16:12 "Fixes" for page flipping under PRIME on AMD & nouveau Mario Kleiner
2016-08-17 16:12 ` [PATCH 1/2] drm/nouveau: Fix pageflipping of PRIME imported scanout bo's Mario Kleiner
2016-08-17 16:12 ` [PATCH 2/2] drm/radeon: " Mario Kleiner
2016-08-17 16:27 ` "Fixes" for page flipping under PRIME on AMD & nouveau Christian König
2016-08-17 16:35   ` Mario Kleiner
2016-08-17 17:02     ` Christian König
2016-08-17 23:29       ` Mario Kleiner
2016-08-18  7:41         ` Christian König
2016-08-18  7:52           ` Michel Dänzer
2016-08-18  8:20             ` Christian König
2016-08-18  8:26               ` Michel Dänzer
2016-08-17 17:43     ` Alex Deucher
2016-08-17 23:51       ` Mario Kleiner
2016-08-18  2:32         ` Michel Dänzer
2016-08-18  7:49           ` Christian König
2016-08-26 20:07           ` Mario Kleiner
2016-08-29  3:06             ` Michel Dänzer
2016-08-18  2:23 ` Michel Dänzer
2016-08-18 19:21   ` Marek Olšák
2016-08-26 20:10     ` Mario Kleiner [this message]
2016-08-26 20:33       ` Alex Deucher
2016-08-26 19:57   ` Mario Kleiner
2016-08-29  3:16     ` Michel Dänzer
2016-08-29 13:20       ` Deucher, Alexander

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=f823a2b4-b0e1-f857-9f65-f30abc618d57@gmail.com \
    --to=mario.kleiner.de@gmail.com \
    --cc=airlied@redhat.com \
    --cc=alexander.deucher@amd.com \
    --cc=bskeggs@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jglisse@redhat.com \
    --cc=maraeo@gmail.com \
    --cc=michel@daenzer.net \
    /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.