drm/amdgpu/vce4: move mm table constructions functions into mmsch header file
authorFrank Min <Frank.Min@amd.com>
Sun, 16 Apr 2017 05:37:07 +0000 (13:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:57 +0000 (17:32 -0400)
commita92f5ec0c1341466bbfe98e1abc3cf5427ba4a67
tree3963e06eeade7b71251aa6cd6eda16dacbc5d375
parentb53b8cdac621da0a4bac5f83e0004dd9b74a9160
drm/amdgpu/vce4: move mm table constructions functions into mmsch header file

Move mm table construction functions into mmsch header file so that
UVD can reuse it.

Signed-off-by: Frank Min <Frank.Min@amd.com>
Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mmsch_v1_0.h
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c