]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: be quiet when no SAD block is found
authorJean Delvare <jdelvare@suse.de>
Wed, 4 Sep 2019 09:13:37 +0000 (11:13 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:42:56 +0000 (10:42 -0500)
commit5696e9f75a8560dfa95d17f765d8cdbdbbe71688
tree308f5bf911b6f3dd717f4a1357b887cdeace1e0f
parent9716089a9a5b5ca631abb030d98c5197d8eb320c
drm/radeon: be quiet when no SAD block is found

It is fine for displays without audio functionality to not provide
any SAD block in their EDID. Do not log an error in that case,
just return quietly.

Inspired by a similar fix to the amdgpu driver in the context of bug
fdo#107825:
https://bugs.freedesktop.org/show_bug.cgi?id=107825

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: "David (ChunMing) Zhou" <David1.Zhou@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_audio.c