drm/amdgpu/uvd: UVD entity initialization relys on ring initialization
authorEmily Deng <Emily.Deng@amd.com>
Mon, 13 Aug 2018 06:45:34 +0000 (14:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Aug 2018 22:20:10 +0000 (17:20 -0500)
commit33d5bd0705440c158c909da7538f05fc7a0ebcdf
treeb08a880ef1c6da0816b9317ba96580e6cea681ff
parent4d77c0f676e910fb1f1870738aa4bd168f253621
drm/amdgpu/uvd: UVD entity initialization relys on ring initialization

Entity init should after ring init, as the entity's sched_rq's initialization
is in ring init.

SWDEV-161495

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c