artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08be9e2
)
drm/amd/display: Skip Recompute DSC Params if no Stream on Link
author
jsg
<jsg@openbsd.org>
Thu, 15 Aug 2024 03:12:41 +0000
(
03:12
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 15 Aug 2024 03:12:41 +0000
(
03:12
+0000)
From Fangzhi Zuo
718d83f66fb07b2cab89a1fc984613a00e3db18f
in linux-6.6.y/6.6.46
50e376f1fe3bf571d0645ddf48ad37eb58323919
in mainline linux
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
index
2104511
..
3880ddf
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
+++ b/
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
@@
-1266,6
+1266,9
@@
static bool is_dsc_need_re_compute(
}
}
+ if (new_stream_on_link_num == 0)
+ return false;
+
/* check current_state if there stream on link but it is not in
* new request state
*/