]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/amdgpu: refine code for VCE2.0 and related dpm code.
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 26 Jan 2017 08:25:05 +0000 (16:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Feb 2017 22:22:27 +0000 (17:22 -0500)
commitbeeea9819d1b85ea4f4beb09d176de9889079c75
treeb521cb3f6828d641a42cc7b0b15e5e9b269b261c
parent28ed5504ab4b211a4e589e648e5ebd1e0caa7a6a
drm/amdgpu: refine code for VCE2.0 and related dpm code.

v2: clean up vce cg function.
    use sw cg when vce stoped.

1. implement vce_stop function.
2. not start vce when hw_init.
3. refine vce cg/pg code.
4. delete bypass mode.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/amdgpu/kv_dpm.c
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c