artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e6ff3d
)
don't warn on output type 0 result in dm_edid_parser_send_cea()
author
jsg
<jsg@openbsd.org>
Mon, 11 Apr 2022 06:50:58 +0000
(06:50 +0000)
committer
jsg
<jsg@openbsd.org>
Mon, 11 Apr 2022 06:50:58 +0000
(06:50 +0000)
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
patch
|
blob
|
history
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
06a11be
..
6620de3
100644
(file)
--- 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;
}