diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-02-17 13:32:05 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-02-19 09:13:25 +0100 |
commit | 4fff19ae427548d8c37260c975a4b20d3c040ec6 (patch) | |
tree | d8310f78fa00544dce899aa4530d5285b5a1f26d /drivers/char/ipmi/ipmi_si_hardcode.c | |
parent | 42c4551aca94c987ea70b31f496d602de8dad283 (diff) | |
download | linux-4fff19ae427548d8c37260c975a4b20d3c040ec6.tar.gz |
drm/qxl: use ttm bo priorities
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@redhat.com
Diffstat (limited to 'drivers/char/ipmi/ipmi_si_hardcode.c')
0 files changed, 0 insertions, 0 deletions