[Mesa-dev] [PATCH 3/3] winsys/radeon: disable virtual address space by default

Christian König deathsimple at vodafone.de
Thu Sep 6 08:49:41 PDT 2012


On 06.09.2012 17:42, Marek Olšák wrote:
> On Fri, Aug 31, 2012 at 7:08 AM, Michel Dänzer <michel at daenzer.net> wrote:
>> On Don, 2012-08-30 at 17:35 +0200, Marek Olšák wrote:
>>> This fixes hangs on Cayman.
>> Note that at least some of those hangs are due to pre-existing
>> out-of-bounds memory access bugs which happen not to cause any serious
>> problems without virtual address space. Enabling it can help pinpoint
>> those bugs using the virtual memory protection fault address.
> I tried to allocate twice as much memory for every r600g resource and
> it still hung. I am out of ideas and I see no easy way to debug that,
> because the soft reset just doesn't work. I don't even remember when
> the soft reset worked last time. It's been so long.
Currently working on that and already have a patch that instead of 
locking the GPU hard just redirects every invalid memory access to the 
dummy page and prints a nice warning into the syslog that userspace is 
doing something nasty.

Seems to work allot better than just hanging everything on the first 
sign of problems.

Give me a day or two to sort that out,
Christian.


>
> Marek
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list