diff options
| author | Timur Kristóf <[email protected]> | 2025-07-31 09:43:51 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-08-18 22:00:20 +0000 |
| commit | f14ee2e7a86c5e57295b48b8e198cae7189b3b93 (patch) | |
| tree | b3491459b51835b326b9e7a4d3f21c8c0bdd5232 /drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | |
| parent | drm/amd/display: Don't warn when missing DCE encoder caps (diff) | |
| download | kernel-f14ee2e7a86c5e57295b48b8e198cae7189b3b93.tar.gz kernel-f14ee2e7a86c5e57295b48b8e198cae7189b3b93.zip | |
drm/amd/display: Don't print errors for nonexistent connectors
When getting the number of connectors, the VBIOS reports
the number of valid indices, but it doesn't say which indices
are valid, and not every valid index has an actual connector.
If we don't find a connector on an index, that is not an error.
Considering these are not actual errors, don't litter the logs.
Fixes: 60df5628144b ("drm/amd/display: handle invalid connector indices")
Signed-off-by: Timur Kristóf <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Reviewed-by: Rodrigo Siqueira <[email protected]>
Reviewed-by: Alex Hung <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 249d4bc5f1935f04bb45b3b63c0f8922565124f7)
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/bios/bios_parser.c')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c index 67f08495b7e6..154fd2c18e88 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c +++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c @@ -174,11 +174,8 @@ static struct graphics_object_id bios_parser_get_connector_id( return object_id; } - if (tbl->ucNumberOfObjects <= i) { - dm_error("Can't find connector id %d in connector table of size %d.\n", - i, tbl->ucNumberOfObjects); + if (tbl->ucNumberOfObjects <= i) return object_id; - } id = le16_to_cpu(tbl->asObjects[i].usObjectID); object_id = object_id_from_bios_object_id(id); |
