summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-07-29 10:44:03 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-07-29 10:44:03 +0000
commit9eb47ee68c2f938aeee2e62e28957ca91ea29dab (patch)
treeedc22c2810a26586072e886a9f8cac2cfb64148c /sys/dev
parentb438d6e9030f9a4cb62bfebf1caa44715e795eb5 (diff)
drm/amd/display: add dmcub check on RENOIR
From Aaron Ma ef176ba6acec80d11f1d8d7f998174b56e3c9620 in linux 5.7.y/5.7.11 3b2e973dff59d88bee1d814ddf8762a24fc02b60 in mainline linux
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c2
1 files changed, 1 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 3d2757893a3..7c92f70964e 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
@@ -1347,7 +1347,7 @@ static int dm_late_init(void *handle)
struct dmcu *dmcu = NULL;
bool ret;
- if (!adev->dm.fw_dmcu)
+ if (!adev->dm.fw_dmcu && !adev->dm.dmub_fw)
return detect_mst_link_for_all_connectors(adev->ddev);
dmcu = adev->dm.dc->res_pool->dmcu;