[PATCH 2/2] drm/amdgpu: refine vce2.0 dpm sequence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 5, 2017 at 10:37 PM, Rex Zhu <Rex.Zhu at amd.com> wrote:
> Change-Id: I48a305f144f032b1b8d1ceda1653f004a56c9e77


Missing your signed-off-by.  With that fixed:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> index adaa9ca..716c22d 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
> @@ -1315,11 +1315,11 @@ void amdgpu_dpm_enable_vce(struct amdgpu_device *adev, bool enable)
>                         /* XXX select vce level based on ring/task */
>                         adev->pm.dpm.vce_level = AMD_VCE_LEVEL_AC_ALL;
>                         mutex_unlock(&adev->pm.mutex);
> -                       amdgpu_pm_compute_clocks(adev);
> -                       amdgpu_set_powergating_state(adev, AMD_IP_BLOCK_TYPE_VCE,
> -                                                       AMD_PG_STATE_UNGATE);
>                         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);
> +                       amdgpu_pm_compute_clocks(adev);
>                 } else {
>                         amdgpu_set_powergating_state(adev, AMD_IP_BLOCK_TYPE_VCE,
>                                                         AMD_PG_STATE_GATE);
> --
> 1.9.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux