diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2013-01-15 14:57:10 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2013-01-15 14:57:10 +0100 |
commit | f2d476a110bc24fde008698ae9018c99e803e25c (patch) | |
tree | 2d33f2036764ac5a6d0ee4c45104f1d90530f5ba /drivers/gpu/drm/nouveau/nouveau_gem.c | |
parent | 5e45d7dfd74100d622f9cdc70bfd1f9fae1671de (diff) | |
download | linux-f2d476a110bc24fde008698ae9018c99e803e25c.tar.gz linux-f2d476a110bc24fde008698ae9018c99e803e25c.tar.bz2 linux-f2d476a110bc24fde008698ae9018c99e803e25c.zip |
drm/ttm: use ttm_bo_reserve_slowpath_nolru in ttm_eu_reserve_buffers, v2
This requires re-use of the seqno, which increases fairness slightly.
Instead of spinning with a new seqno every time we keep the current one,
but still drop all other reservations we hold. Only when we succeed,
we try to get back our other reservations again.
This should increase fairness slightly as well.
Changes since v1:
- Increase val_seq before calling ttm_bo_reserve_slowpath_nolru and
retrying to take all entries to prevent a race.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_gem.c')
0 files changed, 0 insertions, 0 deletions