]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/sdma4: use num_instances for clock/powergating config
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Sep 2017 20:47:54 +0000 (16:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Mar 2018 21:01:18 +0000 (16:01 -0500)
commit1e857a007561390fbd8f94828ec5d53da7a2bc98
treef0dc598b6da50bc753d7690fe6c058eaf67fdad5
parent7db509fea3bff06161da34a4b9d8a6466a98e5f4
drm/amdgpu/sdma4: use num_instances for clock/powergating config

Rather then relying on the asic type for the second instance.
Makes it more consistent with the rest of the code.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c