drm/amdgpu/gfx: move mec parameter setup into sw_init
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jun 2017 18:20:21 +0000 (14:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jun 2017 22:20:58 +0000 (18:20 -0400)
commit4853bbb6fbb9429b84ddd3562c7f2967ca880d03
treef89fba4f9441974ea60ffbcad73b871594d398a8
parent71c37505e7eaa01fa259debad1a71a7ae061039d
drm/amdgpu/gfx: move mec parameter setup into sw_init

This will allow us to share more mec code.

Reviewed-by: Alex Xie <AlexBin.Xie@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c