artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97676e2
)
drm/amd/display: Account for cursor prefetch BW in DML1 mode support
author
jsg
<jsg@openbsd.org>
Fri, 26 Jul 2024 03:37:12 +0000
(
03:37
+0000)
committer
jsg
<jsg@openbsd.org>
Fri, 26 Jul 2024 03:37:12 +0000
(
03:37
+0000)
From Alvin Lee
6ecf239f71ef7f6e9f8ea46b9c7ef4df2afd96c9
in linux-6.6.y/6.6.42
074b3a886713f69d98d30bb348b1e4cb3ce52b22
in mainline linux
sys/dev/pci/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c
b/sys/dev/pci/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c
index
6c84b0f
..
0782a34
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c
+++ b/
sys/dev/pci/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c
@@
-3364,6
+3364,9
@@
void dml32_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l
&mode_lib->vba.UrgentBurstFactorLumaPre[k],
&mode_lib->vba.UrgentBurstFactorChromaPre[k],
&mode_lib->vba.NotUrgentLatencyHidingPre[k]);
+
+ v->cursor_bw_pre[k] = mode_lib->vba.NumberOfCursors[k] * mode_lib->vba.CursorWidth[k][0] * mode_lib->vba.CursorBPP[k][0] /
+ 8.0 / (mode_lib->vba.HTotal[k] / mode_lib->vba.PixelClock[k]) * v->VRatioPreY[i][j][k];
}
{