[PATCH] drm/amd/display: Remove error message in stream create routine

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

 



MST has its unique sequence that may get failed due to no stream
in atomic check in some cases, e.g., hotplug, S3 resume.

Remove the ERROR message in the stream create routine, and leave
its caller to decide if additional action is required.

Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@xxxxxxx>
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 53c49c901a6a..a9ed225d2ae0 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -3052,10 +3052,8 @@ create_stream_for_sink(struct amdgpu_dm_connector *aconnector,
 
 	stream = dc_create_stream_for_sink(sink);
 
-	if (stream == NULL) {
-		DRM_ERROR("Failed to create stream for sink!\n");
+	if (stream == NULL)
 		goto finish;
-	}
 
 	stream->dm_stream_context = aconnector;
 
-- 
2.14.1

_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
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