diff options
| author | Emily Deng <[email protected]> | 2018-08-13 06:46:06 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-08-13 22:21:29 +0000 |
| commit | 20acbed47d30efbf14e5aecc5ec5e5f152db7810 (patch) | |
| tree | c3b93697a4a2b34c2c32af0caf517e37f0081b48 /drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | |
| parent | drm/amdgpu/uvd: UVD entity initialization relys on ring initialization (diff) | |
| download | kernel-20acbed47d30efbf14e5aecc5ec5e5f152db7810.tar.gz kernel-20acbed47d30efbf14e5aecc5ec5e5f152db7810.zip | |
drm/amdgpu/vce: VCE entity initialization relies on ring initializtion
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vce_v3_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c index cc6ce6cc03f4..c8390f9adfd6 100644 --- a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c @@ -448,6 +448,8 @@ static int vce_v3_0_sw_init(void *handle) return r; } + r = amdgpu_vce_entity_init(adev); + return r; } |
