commit | 8b55d17eeea70bd9b6e0711a6230fda10a002e6b | [log] [tgz] |
---|---|---|
author | Rex Zhu <Rex.Zhu@amd.com> | Fri Jan 20 15:56:45 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Feb 08 17:21:14 2017 -0500 |
tree | 178467c7bb506c984b136dc9e09518966ec6a4be | |
parent | d01c6236acff6ec460690dd5b040e53435799295 [diff] |
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>