diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-04-11 06:50:59 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-04-11 06:50:59 +0000 |
commit | 05ad79b3abc7f0b262a1d9f0d66ff4a4d2035d75 (patch) | |
tree | 4d9e4b927b7441663c9521b158d3e5cc15784081 | |
parent | 512eb42f1d49d1fc9ca3d5a89a460e3b19c8bce2 (diff) |
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
-rw-r--r-- | sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |