From fe253f31d6246838773866cafa143f7243634f18 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 11 Apr 2022 06:50:58 +0000 Subject: [PATCH] don't warn on output type 0 result in dm_edid_parser_send_cea() shows on renoir when using HP ZR2440w display via hdmi [drm] Unknown EDID CEA parser results --- sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c index 06a11becd43..6620de38af5 100644 --- a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -10751,7 +10751,8 @@ static bool dm_edid_parser_send_cea(struct amdgpu_display_manager *dm, vsdb->min_refresh_rate_hz = output->amd_vsdb.min_frame_rate; vsdb->max_refresh_rate_hz = output->amd_vsdb.max_frame_rate; } else { - DRM_WARN("Unknown EDID CEA parser results\n"); + if (output->type != 0) + DRM_WARN("Unknown EDID CEA parser results\n"); return false; } -- 2.20.1