Patch "drm/amdgpu: when dpm disabled, also need to stop/start vce." has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
drm/amdgpu: when dpm disabled, also need to stop/start vce.
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-amdgpu-when-dpm-disabled-also-need-to-stop-start-vce.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Mon Nov 6 10:22:56 CET 2017
From: Rex Zhu <[email protected]>
Date: Sat, 7 Oct 2017 22:37:46 +0000
Subject: drm/amdgpu: when dpm disabled, also need to stop/start vce.
From: Rex Zhu <[email protected]>
[ Upstream commit 28ed5504ab4b211a4e589e648e5ebd1e0caa7a6a ]
--- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +9 -0
@@ -284,6 +284,10 @@ static void amdgpu_vce_idle_work_handleramdgpu_dpm_enable_vce (adev, false); }else {amdgpu_asic_set_vce_clocks (adev,0 ,0 ); +amdgpu_set_powergating_state (adev,AMD_IP_BLOCK_TYPE_VCE , +AMD_PG_STATE_GATE ); +amdgpu_set_clockgating_state (adev,AMD_IP_BLOCK_TYPE_VCE , +AMD_CG_STATE_GATE ); } }else { schedule_delayed_work(&adev->vce.idle_work,
@@ -315,6 +319,11 @@ static void amdgpu_vce_note_usage(structamdgpu_dpm_enable_vce (adev, true); }else {amdgpu_asic_set_vce_clocks (adev,53300 ,40000 ); +amdgpu_set_clockgating_state (adev,AMD_IP_BLOCK_TYPE_VCE , +AMD_CG_STATE_UNGATE ); +amdgpu_set_powergating_state (adev,AMD_IP_BLOCK_TYPE_VCE , +AMD_PG_STATE_UNGATE ); + } } }
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/drm-amdgpu-when-dpm-disabled-also-need-to-stop-start-vce.patch