commit | ccdef35d0714f620ca70b23b6000cbb630efea1b | [log] [tgz] |
---|---|---|
author | Yong Zhao <Yong.Zhao@amd.com> | Thu Nov 07 23:59:43 2019 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Nov 19 09:47:17 2019 -0500 |
tree | 49fffeaa2bcfffbee2ae12b1947d6c5bd4096f22 | |
parent | 84ce6c48675b55e937814e7c688c46ab15242b8a [diff] |
drm/amdkfd: Eliminate ops_asic_specific in kernel queue The ops_asic_specific function pointers are actually quite generic after using a simple if condition. Eliminate it by code refactoring. Signed-off-by: Yong Zhao <Yong.Zhao@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>