OSDN Git Service

drm/amd/display: Remove superflous error message
authorJordan Lazare <Jordan.Lazare@amd.com>
Mon, 27 May 2019 16:07:19 +0000 (12:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jun 2019 17:50:38 +0000 (12:50 -0500)
[Why]
VBios sometimes reports incorrect object type as encoder instead of
connector

[How]
Change error message to debug message

Signed-off-by: Jordan Lazare <Jordan.Lazare@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c

index 9f32ddf..10807fa 100644 (file)
@@ -1180,7 +1180,7 @@ static bool construct(
        link->link_id = bios->funcs->get_connector_id(bios, init_params->connector_index);
 
        if (link->link_id.type != OBJECT_TYPE_CONNECTOR) {
-               dm_error("%s: Invalid Connector ObjectID from Adapter Service for connector index:%d! type %d expected %d\n",
+               dm_output_to_console("%s: Invalid Connector ObjectID from Adapter Service for connector index:%d! type %d expected %d\n",
                         __func__, init_params->connector_index,
                         link->link_id.type, OBJECT_TYPE_CONNECTOR);
                goto create_fail;