commit | f166d9f297684faa153dabc2b8887f61bbe7858c | [log] [tgz] |
---|---|---|
author | Tom St Denis <tom.stdenis@amd.com> | Wed Sep 07 08:03:28 2016 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Sep 14 09:43:41 2016 -0400 |
tree | 51fd18782131307966af3de8330b781e2b49e9d8 | |
parent | 075719c3cb79f309fc775a7f8f49d91a0351ceb3 [diff] |
drm/amd/amdgpu: Remove double lock from gfx v6 The function gfx_v6_0_get_cu_info() was taking the grbm_idx_mutex which was then taken by a dependent function gfx_v6_0_get_cu_active_bitmap(). This patch removes the select from the parent function to avoid the double lock. Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>