Re: Excessive kernel time inside ttm when scrolling on a r700 in amultimonitor setup

From: Jerome Glisse
Date: Mon Sep 17 2012 - 05:59:28 EST


On Mon, Sep 17, 2012 at 5:13 AM, Andres Freund <andres@xxxxxxxxxxx> wrote:
> On Monday, September 17, 2012 10:47:10 AM Jerome Glisse wrote:
>> On Sun, Sep 16, 2012 at 7:18 PM, Andres Freund <andres@xxxxxxxxxxx> wrote:
>> > Hi everyone,
>> >
>> > In several gui programs, most notably and reproducably, I can trivially
>> > make Xorg spend the whole cpu time in the kernel. It might be an Xorg
>> > bug, but from my untrained gut feeling it doesn't look that way.
>> >
>> > Anything more you need than whats already in the email?
>>
>> > Here are some details:
>> Is it an AGP card ? It looks like it's the PAT update that kills perf
>> for you, not much we can do, the pool allocator is probably starve.
> If you mean AGP as in the old strange graphics bus, no. Its a pcie card.
>
> If that helps you, more detailedly the card is a: SAPPHIRE Radeon HD6870
>
> Unfortunately the manufacturers page is remarkably devoid of details...:
> http://www.sapphiretech.com/presentation/product/?cid=1&gid=3&sgid=1037&lid=1&pid=1270&leg=0
>
> Greetings,
>
> Andres

Well, then the issue is that it tries to allocate write combined pages
on PCIE which should not happen. I don't see how in the code you endup
in that path unless drm_pci_device_is_agp return true for some
reasons.

Cheers,
Jerome
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/