diff options
author | Andres Rodriguez <andresx7@gmail.com> | 2017-03-17 14:30:15 -0400 |
---|---|---|
committer | Andres Rodriguez <andresx7@gmail.com> | 2017-04-27 13:25:20 -0400 |
commit | 0ca17052d0209bc78430de99a2921dab2686aaad (patch) | |
tree | c080a61914434a52acada997b166694a854c9a40 /drivers/base/driver.c | |
parent | 2ba5d34711087dabb1c81c361012042a09b26905 (diff) |
drm/amdgpu: guarantee bijective mapping of ring ids for LRU v3
Depending on usage patterns, the current LRU policy may create a
non-injective mapping between userspace ring ids and kernel rings.
This behaviour is undesired as apps that attempt to fill all HW blocks
would be unable to reach some of them.
This change forces the LRU policy to create bijective mappings only.
v2: compress ring_blacklist
v3: simplify amdgpu_ring_is_blacklisted() logic
Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'drivers/base/driver.c')
0 files changed, 0 insertions, 0 deletions