diff options
author | Harry Wentland <harry.wentland@amd.com> | 2018-12-04 14:10:58 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-12-18 18:25:10 -0500 |
commit | d3302424e04d0c5ed478d80c0ff53783091f31f4 (patch) | |
tree | e4ede266d69aba2af4165309b7ec6aa185d31e8c /drivers/gpu | |
parent | 1c01a45a86ed6991953e74be63b6a7e33b387954 (diff) | |
download | linux-stable-d3302424e04d0c5ed478d80c0ff53783091f31f4.tar.gz linux-stable-d3302424e04d0c5ed478d80c0ff53783091f31f4.tar.bz2 linux-stable-d3302424e04d0c5ed478d80c0ff53783091f31f4.zip |
drm/amd/display: Don't log error if we have no connectors
[Why]
In certain configurations, such as PX configs or some Vega20 parts
DC gets created without connectors.
[How]
Drop the dm_error print when no connectors.
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index d9c57984394b..aa11a176d673 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -151,10 +151,6 @@ static bool create_links( return false; } - if (connectors_num == 0 && num_virtual_links == 0) { - dm_error("DC: Number of connectors is zero!\n"); - } - dm_output_to_console( "DC: %s: connectors_num: physical:%d, virtual:%d\n", __func__, |