drm/amd/display: Fix error message
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Mon, 26 Aug 2019 14:11:50 +0000 (10:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Aug 2019 13:15:53 +0000 (08:15 -0500)
Since reservation_object_wait_timeout_rcu is called with
interruptable set to false it's wrong to say
'or interrupted' in the error message.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index 15e256d..f731d9a 100644 (file)
@@ -5727,7 +5727,7 @@ static void amdgpu_dm_commit_planes(struct drm_atomic_state *state,
                                                        false,
                                                        msecs_to_jiffies(5000));
                if (unlikely(r <= 0))
-                       DRM_ERROR("Waiting for fences timed out or interrupted!");
+                       DRM_ERROR("Waiting for fences timed out!");
 
                /*
                 * TODO This might fail and hence better not used, wait