summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-06-15 02:58:50 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-06-15 02:58:50 +0000
commit4e21b76c86c8c5caee88d455d704b4a9c0a7fed1 (patch)
tree38c99ec9ebb80e78c133fa53fc0237e03bc22bc7 /sys
parent6fbbdb55be8c30baace27daeb64c269670846c3a (diff)
drm/amd/display: Correct DML calculation to follow HW SPEC
From Paul Hsieh ec5f00a59aade7e2575fed8b703e2281da444c56 in linux-6.1.y/6.1.30 385c3e4c29e1d4ce8f68687a8c84621e4c0e0416 in mainline linux
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c2
-rw-r--r--sys/dev/pci/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c2
-rw-r--r--sys/dev/pci/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c2
-rw-r--r--sys/dev/pci/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c b/sys/dev/pci/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c
index 1e9b157cfe8..65fb783317b 100644
--- a/sys/dev/pci/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c
+++ b/sys/dev/pci/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c
@@ -4868,7 +4868,7 @@ void dml30_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l
v->DETBufferSizeCThisState[k],
&v->UrgentBurstFactorCursorPre[k],
&v->UrgentBurstFactorLumaPre[k],
- &v->UrgentBurstFactorChroma[k],
+ &v->UrgentBurstFactorChromaPre[k],
&v->NoUrgentLatencyHidingPre[k]);
}
diff --git a/sys/dev/pci/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c b/sys/dev/pci/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c
index 77094035a26..cf8f3d690fa 100644
--- a/sys/dev/pci/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c
+++ b/sys/dev/pci/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c
@@ -5189,7 +5189,7 @@ void dml31_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l
v->DETBufferSizeCThisState[k],
&v->UrgentBurstFactorCursorPre[k],
&v->UrgentBurstFactorLumaPre[k],
- &v->UrgentBurstFactorChroma[k],
+ &v->UrgentBurstFactorChromaPre[k],
&v->NotUrgentLatencyHidingPre[k]);
}
diff --git a/sys/dev/pci/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c b/sys/dev/pci/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c
index 69516cfdbc6..4998b211cca 100644
--- a/sys/dev/pci/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c
+++ b/sys/dev/pci/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c
@@ -5286,7 +5286,7 @@ void dml314_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_
v->DETBufferSizeCThisState[k],
&v->UrgentBurstFactorCursorPre[k],
&v->UrgentBurstFactorLumaPre[k],
- &v->UrgentBurstFactorChroma[k],
+ &v->UrgentBurstFactorChromaPre[k],
&v->NotUrgentLatencyHidingPre[k]);
}
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 e02e9d4b04a..2bb768413c9 100644
--- 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
@@ -3333,7 +3333,7 @@ void dml32_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l
/* Output */
&mode_lib->vba.UrgentBurstFactorCursorPre[k],
&mode_lib->vba.UrgentBurstFactorLumaPre[k],
- &mode_lib->vba.UrgentBurstFactorChroma[k],
+ &mode_lib->vba.UrgentBurstFactorChromaPre[k],
&mode_lib->vba.NotUrgentLatencyHidingPre[k]);
}