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 15e256d3ab4723ec0eed8cb48be53d5459fe463e..f731d9ab258333d89ae98e9fbcc42bb14cef9bc2 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