artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1b4c27
)
drm/amd/display: Update VTEM Infopacket definition
author
jsg
<jsg@openbsd.org>
Thu, 21 Apr 2022 09:42:38 +0000
(09:42 +0000)
committer
jsg
<jsg@openbsd.org>
Thu, 21 Apr 2022 09:42:38 +0000
(09:42 +0000)
From Leo (Hanghong) Ma
7a3bc11a40346987649018ecd82caa744117c347
in linux 5.15.y/5.15.35
c9fbf6435162ed5fb7201d1d4adf6585c6a8c327
in mainline linux
sys/dev/pci/drm/amd/display/modules/info_packet/info_packet.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/modules/info_packet/info_packet.c
b/sys/dev/pci/drm/amd/display/modules/info_packet/info_packet.c
index
57f198d
..
4e075b0
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/modules/info_packet/info_packet.c
+++ b/
sys/dev/pci/drm/amd/display/modules/info_packet/info_packet.c
@@
-100,7
+100,8
@@
enum vsc_packet_revision {
//PB7 = MD0
#define MASK_VTEM_MD0__VRR_EN 0x01
#define MASK_VTEM_MD0__M_CONST 0x02
-#define MASK_VTEM_MD0__RESERVED2 0x0C
+#define MASK_VTEM_MD0__QMS_EN 0x04
+#define MASK_VTEM_MD0__RESERVED2 0x08
#define MASK_VTEM_MD0__FVA_FACTOR_M1 0xF0
//MD1
@@
-109,7
+110,7
@@
enum vsc_packet_revision {
//MD2
#define MASK_VTEM_MD2__BASE_REFRESH_RATE_98 0x03
#define MASK_VTEM_MD2__RB 0x04
-#define MASK_VTEM_MD2__
RESERVED3
0xF8
+#define MASK_VTEM_MD2__
NEXT_TFR
0xF8
//MD3
#define MASK_VTEM_MD3__BASE_REFRESH_RATE_07 0xFF