On Wed, May 12, 2021 at 11:41:17AM +0200, Greg KH wrote:
On Mon, May 10, 2021 at 02:31:40PM +0200, Gerd Hoffmann wrote:
Allow to set priorities for buffer objects. Use priority 1 for surface and cursor command releases. Use priority 0 for drawing command releases. That way the short-living drawing commands are first in line when it comes to eviction, making it *much* less likely that ttm_bo_mem_force_space() picks something which can't be evicted and throws an error after waiting a while without success.
Signed-off-by: Gerd Hoffmann kraxel@redhat.com Acked-by: Thomas Zimmermann tzimmermann@suse.de Link: http://patchwork.freedesktop.org/patch/msgid/20210217123213.2199186-4-kraxel... (cherry-picked from 4fff19ae427548d8c37260c975a4b20d3c040ec6)
What about 5.11 and 5.12? We can't just backport to a single stable tree and miss newer ones.
It's a clean cherry-pick for those (seems you've found the other mail saying so meanwhile ...).
take care, Gerd