diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2017-01-20 15:56:45 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-02-08 17:21:14 -0500 |
commit | 8b55d17eeea70bd9b6e0711a6230fda10a002e6b (patch) | |
tree | 178467c7bb506c984b136dc9e09518966ec6a4be /drivers/vfio | |
parent | d01c6236acff6ec460690dd5b040e53435799295 (diff) | |
download | linux-8b55d17eeea70bd9b6e0711a6230fda10a002e6b.tar.bz2 |
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/vfio')
0 files changed, 0 insertions, 0 deletions