mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fixes to drm-next - ttm code (v2) found when using nouveau.
@ 2012-01-04 21:35 Konrad Rzeszutek Wilk
  2012-01-04 21:35 ` [PATCH 1/3] drm/ttm/dma: Only call set_pages_array_wb when the page is not in WB pool Konrad Rzeszutek Wilk
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-01-04 21:35 UTC (permalink / raw)
  To: linux-kernel, dri-devel, j.glisse, bskeggs, thellstrom, airlied

When I was debugging some DMA API accounting error (which were found to be
with the DMA API debug code), I encountered a couple of issues:
 1). Doing "unbind" on the PCI device would crash the kernel _only_ with the 
     nouveau driver. The readon worked fine. This was due to:
     "drm/ttm: callback move_notify any time bo.." and reverting that fixed it.

 2). Extreme slowness when moving the cursor madly around. This was due to the
     nouveau driver calling the unpopulate (now that unbind + unpopulate are squashed)
     quite a lot (this is using Gnome Shell - I think GNOME2 did not have those issues
     but I can't recall). Radeon did not have these issues.

Anyhow these patches fix the 50% perf regression I saw on nouveau and also some minor bugs
that I noticed. Please apply.

Thomas asked me to also do some perf results on AGP hardware (both nouveau and radeon)
and I am going to do that this week - any pointers of what is a good game/OpenGL
application to run a time-based benchmark?


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH] fixes to drm-next - TTM DMA code (v1)
@ 2011-12-12 20:09 Konrad Rzeszutek Wilk
  2011-12-12 20:09 ` [PATCH 1/3] drm/ttm/dma: Only call set_pages_array_wb when the page is not in WB pool Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 7+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-12-12 20:09 UTC (permalink / raw)
  To: linux-kernel, j.glisse, dri-devel; +Cc: bskeggs, thellstrom

Jerome pointed me to some accounting error in the DMA API debugging code and
while I can't figure it out yet, I did notice some extreme slowness - which
is due to the nouveau driver calling the unpopulate (now that unbind +
unpopulate are squashed) quite a lot (this is using Gnome Shell - I think GNOME2
did not have those issues but I can't recall).

Anyhow these patches fix the 50% perf regression I saw and also some minor bugs
that I noticed.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-01-05 18:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-04 21:35 [PATCH] fixes to drm-next - ttm code (v2) found when using nouveau Konrad Rzeszutek Wilk
2012-01-04 21:35 ` [PATCH 1/3] drm/ttm/dma: Only call set_pages_array_wb when the page is not in WB pool Konrad Rzeszutek Wilk
2012-01-05 15:55   ` Jerome Glisse
2012-01-04 21:35 ` [PATCH 2/3] drm/ttm/dma: Fix accounting error when calling ttm_mem_global_free_page and don't try to free freed pages Konrad Rzeszutek Wilk
2012-01-04 21:35 ` [PATCH 3/3] Revert "drm/ttm: callback move_notify any time bo placement change v4" Konrad Rzeszutek Wilk
2012-01-05 18:29   ` Jerome Glisse
  -- strict thread matches above, loose matches on Subject: below --
2011-12-12 20:09 [PATCH] fixes to drm-next - TTM DMA code (v1) Konrad Rzeszutek Wilk
2011-12-12 20:09 ` [PATCH 1/3] drm/ttm/dma: Only call set_pages_array_wb when the page is not in WB pool Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®