lkml.org 
[lkml]   [2020]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 5.5 160/542] drm/amdgpu/dm: Do not throw an error for a display with no audio
    Date
    From: Chris Wilson <chris@chris-wilson.co.uk>

    [ Upstream commit 852a91d627e9ce849d68df9d3f5336689003bdc7 ]

    An old display with no audio may not have an EDID with a CEA block, or
    it may simply be too old to support audio. This is not a driver error,
    so don't flag it as such.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112140
    References: ae2a3495973e ("drm/amd: be quiet when no SAD block is found")
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Harry Wentland <harry.wentland@amd.com>
    Cc: Jean Delvare <jdelvare@suse.de>
    Cc: Alex Deucher <alexander.deucher@amd.com>
    Reviewed-by: Harry Wentland <harry.wentland@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
    index 0b401dfbe98a9..34f483ac36ca4 100644
    --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
    +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
    @@ -97,8 +97,6 @@ enum dc_edid_status dm_helpers_parse_edid_caps(
    (struct edid *) edid->raw_edid);

    sad_count = drm_edid_to_sad((struct edid *) edid->raw_edid, &sads);
    - if (sad_count < 0)
    - DRM_ERROR("Couldn't read SADs: %d\n", sad_count);
    if (sad_count <= 0)
    return result;

    --
    2.20.1
    \
     
     \ /
      Last update: 2020-02-14 16:53    [W:3.925 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site