Re: [infinite loop] need some info about TTM's buffer eviction mechanism

2017-03-14 Thread Christian König
And then try again (until ?). The LRU is empty. See you got one LRU per domain, so while evicting the buffer from VRAM it is moved to the GTT domain and also removed from the LRU domain. When no other task is trying to do a CS the LRU will sooner or later become empty. One possibility what

[infinite loop] need some info about TTM's buffer eviction mechanism

2017-03-14 Thread Julien Isorce
Hello, While debugging a softlock that happens on an ioctl(RADEON_CS), I found that it keeps looping indefinitely in the following loop: https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/ttm/ttm_bo.c#L819 That would be great if someone could explain the logic behind this loop iteratio