diff options
author | 2017-01-20 15:56:45 +0800 | |
---|---|---|
committer | 2017-02-08 17:21:14 -0500 | |
commit | 8b55d17eeea70bd9b6e0711a6230fda10a002e6b (patch) | |
tree | 178467c7bb506c984b136dc9e09518966ec6a4be /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |
parent | drm/amdgpu: refine uvd pg code in kv_dpm.c (diff) | |
download | linux-dev-8b55d17eeea70bd9b6e0711a6230fda10a002e6b.tar.xz linux-dev-8b55d17eeea70bd9b6e0711a6230fda10a002e6b.zip |
drm/amdgpu: refine uvd4.2 init/stop code.
1. set uvd_status busy before uvd_start.
2. clear uvd_status to 0 after uvd stop.
smu firmware may check uvd_status.
3. wait uvd idle before stop uvd.
4. not start uvd when hw_init.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c')
0 files changed, 0 insertions, 0 deletions