From: jsg Date: Mon, 11 Apr 2022 06:50:58 +0000 (+0000) Subject: don't warn on output type 0 result in dm_edid_parser_send_cea() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fe253f31d6246838773866cafa143f7243634f18;p=openbsd 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 --- 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; }