diff options
| author | Felix Kuehling <[email protected]> | 2019-05-01 18:20:13 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-06-11 11:57:45 -0500 |
| commit | bb2d2128a54c48355249b56cbc898a89e76ba7a1 (patch) | |
| tree | b4616770231c35e02518beb5e324a8a555da6dc5 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 052af915d826b33588749566145c9417fcfc7246 (diff) | |
drm/amdkfd: Simplify eviction state logic
Always mark evicted queues with q->properties.is_evicted = true, even
queues that are inactive for other reason. This simplifies maintaining
the eviction state as it doesn't require updating is_evicted when other
queue activation conditions change.
On the other hand, we now need to check those other queue activation
conditions whenever an evicted queues is restored. To minimize code
duplication, move the queue activation check into a macro so it can be
maintained in one central place.
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Philip Cox <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions