diff options
author | Rex Zhu <[email protected]> | 2017-01-20 15:56:45 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2017-02-08 17:21:14 -0500 |
commit | 8b55d17eeea70bd9b6e0711a6230fda10a002e6b (patch) | |
tree | 178467c7bb506c984b136dc9e09518966ec6a4be /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
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 <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions