drm/amdgpu: get VCN start to process in the dpm disabled case
authorLeo Liu <leo.liu@amd.com>
Wed, 4 Jul 2018 17:35:56 +0000 (13:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Jul 2018 19:18:55 +0000 (14:18 -0500)
Fixes: 22cc6c5e19 (drm/amdgpu: Add runtime VCN PG support)
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c

index 4a3457236e856cd8f87de22b6b73e7eafa98d8c8..769c6723c9caf69df6965390c83e8db1650c33e3 100644 (file)
@@ -229,7 +229,7 @@ void amdgpu_vcn_ring_begin_use(struct amdgpu_ring *ring)
        struct amdgpu_device *adev = ring->adev;
        bool set_clocks = !cancel_delayed_work_sync(&adev->vcn.idle_work);
 
-       if (set_clocks && adev->pm.dpm_enabled) {
+       if (set_clocks) {
                if (adev->pm.dpm_enabled)
                        amdgpu_dpm_enable_uvd(adev, true);
                else