commit | 841cf911fb9e4abd7b8bac2776943c60da9069f4 | [log] [tgz] |
---|---|---|
author | Rex Zhu <Rex.Zhu@amd.com> | Fri Aug 17 16:42:35 2018 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Aug 27 15:11:42 2018 -0500 |
tree | 8fdfeb413f86a62988f9b850f0214eaed96c3148 | |
parent | a62a49e5b968a58266ee04d63ddaa81a01510b39 [diff] |
drm/amdgpu: Remove duplicate code in gfx_v9_0.c There are no any logical changes here. 1. if kcq can be enabled via kiq, we don't need to do kiq ring test. 2. amdgpu_ring_test_ring function can be used to sync the ring complete, remove the duplicate code. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>