commit | b42902f4af8fecd2781f71ad166e8a807edb1053 | [log] [tgz] |
---|---|---|
author | Yong Zhao <Yong.Zhao@amd.com> | Wed Feb 05 14:48:38 2020 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Feb 26 14:20:13 2020 -0500 |
tree | dde095cc875667c409a900dfc49b17da6fc0d5ac | |
parent | e6945304187deae0a28ebc65008ec11277f1c0f0 [diff] |
drm/amdkfd: Count active CP queues directly The previous code of calculating active CP queues is problematic if some SDMA queues are inactive. Fix that by counting CP queues directly. Signed-off-by: Yong Zhao <Yong.Zhao@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>