commit | 1cf0abb6c983d90ec541ebba79934a9c4786df1d | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Mon Jun 25 12:24:10 2018 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Jul 05 16:39:52 2018 -0500 |
tree | 8f4c1b4dcbe6ca895832abde19129536dac9a2ac | |
parent | ed54d954e5c1d8bad453fb86109075b3577152b7 [diff] |
drm/amdgpu/sdma: simplify sdma instance setup Set the me instance in early init and use that rather than calculating the instance based on the ring pointer. Reviewed-by: James Zhu <James.Zhu@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>