artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b163a00
)
drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values
author
jsg
<jsg@openbsd.org>
Tue, 13 Jun 2023 04:09:51 +0000
(
04:09
+0000)
committer
jsg
<jsg@openbsd.org>
Tue, 13 Jun 2023 04:09:51 +0000
(
04:09
+0000)
From Jani Nikula
18ecffd03626ba57c4c899e0b7953479b463372d
in linux-6.1.y/6.1.29
0d68683838f2850dd8ff31f1121e05bfb7a2def0
in mainline linux
sys/dev/pci/drm/include/drm/display/drm_dp.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/include/drm/display/drm_dp.h
b/sys/dev/pci/drm/include/drm/display/drm_dp.h
index
50428ba
..
05f2cc0
100644
(file)
--- a/
sys/dev/pci/drm/include/drm/display/drm_dp.h
+++ b/
sys/dev/pci/drm/include/drm/display/drm_dp.h
@@
-286,8
+286,8
@@
#define DP_DSC_MAX_BITS_PER_PIXEL_HI 0x068 /* eDP 1.4 */
# define DP_DSC_MAX_BITS_PER_PIXEL_HI_MASK (0x3 << 0)
-# define DP_DSC_MAX_BPP_DELTA_VERSION_MASK
0x06
-# define DP_DSC_MAX_BPP_DELTA_AVAILABILITY
0x08
+# define DP_DSC_MAX_BPP_DELTA_VERSION_MASK
(0x3 << 5) /* eDP 1.5 & DP 2.0 */
+# define DP_DSC_MAX_BPP_DELTA_AVAILABILITY
(1 << 7) /* eDP 1.5 & DP 2.0 */
#define DP_DSC_DEC_COLOR_FORMAT_CAP 0x069
# define DP_DSC_RGB (1 << 0)