bianbu-linux-6.6/drivers/gpu/drm/amd
Felix Kuehling bb2d2128a5 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 <Felix.Kuehling@amd.com>
Reviewed-by: Philip Cox <Philip.Cox@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-06-11 11:57:45 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: Fixed missing to clear some EDC count 2019-06-11 11:57:38 -05:00
amdkfd drm/amdkfd: Simplify eviction state logic 2019-06-11 11:57:45 -05:00
display drm/amd/display: Add back missing hw translate init for DCN1_01 2019-06-11 11:56:39 -05:00
include drm/amdkfd: Shift sdma_engine_id and sdma_queue_id in mqd 2019-05-24 12:21:01 -05:00
powerplay Merge branch 'drm-next-5.3' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-05-31 10:04:39 +10:00