Re: [[PATCH for 5.10]] drm/qxl: use ttm bo priorities

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

 



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@xxxxxxxxxx>
> Acked-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
> Link: http://patchwork.freedesktop.org/patch/msgid/20210217123213.2199186-4-kraxel@xxxxxxxxxx
> (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.

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux