artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2108ca2
)
drm/amd/display: Fix a test dml32_rq_dlg_get_rq_reg()
author
jsg
<jsg@openbsd.org>
Thu, 20 Jul 2023 08:39:02 +0000
(08:39 +0000)
committer
jsg
<jsg@openbsd.org>
Thu, 20 Jul 2023 08:39:02 +0000
(08:39 +0000)
From Christophe JAILLET
384717042de89dfd99087d2a54aad72620ac7fcb
in linux-6.1.y/6.1.39
bafc31166aa7df5fa26ae0ad8196d1717e6cdea9
in mainline linux
sys/dev/pci/drm/amd/display/dc/dml/dcn32/display_rq_dlg_calc_32.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dc/dml/dcn32/display_rq_dlg_calc_32.c
b/sys/dev/pci/drm/amd/display/dc/dml/dcn32/display_rq_dlg_calc_32.c
index
395ae87
..
9ba6cb6
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dc/dml/dcn32/display_rq_dlg_calc_32.c
+++ b/
sys/dev/pci/drm/amd/display/dc/dml/dcn32/display_rq_dlg_calc_32.c
@@
-116,7
+116,7
@@
void dml32_rq_dlg_get_rq_reg(display_rq_regs_st *rq_regs,
else
rq_regs->rq_regs_l.min_meta_chunk_size = dml_log2(min_meta_chunk_bytes) - 6 + 1;
- if (min_meta_chunk_bytes == 0)
+ if (
p1_
min_meta_chunk_bytes == 0)
rq_regs->rq_regs_c.min_meta_chunk_size = 0;
else
rq_regs->rq_regs_c.min_meta_chunk_size = dml_log2(p1_min_meta_chunk_bytes) - 6 + 1;