SDMA out-of-bounds write access of tiled surface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2016-06-22 09:50, Nicolai Hähnle wrote:

> Hi Mads,
> 
> setting R600_DEBUG=nodma in the X server should work around your 
> problem for now.
> 
> Marek, perhaps an out-of-bounds check for tiled texture memory access 
> similar to the linear access check is necessary? I wonder if you've 
> seen something about that in the docs.
> 
> I've annotated the sDMA IB dump. It's a linear-to-display-tiled copy on 
> Carrizo. I tried to reproduce with the attached patch, but failed to do 
> so even with amdgpu.vm_debug=1. With the patch, I get DMA copies that 
> are identical to the one that causes the VM fault except for a 
> different bank_height and macro_tile_aspect, so the issue is likely 
> related to those.
> 
> Nicolai
> 

Thank you for this! Sorry I didn't check X ifself for the environment 
flag when I debugged, guess that could've saved us some back-and-forth 
mailing..

Let me know if there's anything more I could/should do!

- Mads


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux