artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13a991e
)
drm/amd/display: Correct `DMUB_FW_VERSION` macro
author
jsg
<jsg@openbsd.org>
Wed, 26 Jul 2023 06:35:39 +0000
(06:35 +0000)
committer
jsg
<jsg@openbsd.org>
Wed, 26 Jul 2023 06:35:39 +0000
(06:35 +0000)
From Mario Limonciello
7ad40467fdfb57bdd8540a4a08cbb448f323c275
in linux-6.1.y/6.1.40
274d205cb59f43815542e04b42a9e6d0b9b95eff
in mainline linux
sys/dev/pci/drm/amd/display/dmub/dmub_srv.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/dmub/dmub_srv.h
b/sys/dev/pci/drm/amd/display/dmub/dmub_srv.h
index
eb5b7eb
..
b53468a
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/dmub/dmub_srv.h
+++ b/
sys/dev/pci/drm/amd/display/dmub/dmub_srv.h
@@
-471,7
+471,7
@@
struct dmub_notification {
* of a firmware to know if feature or functionality is supported or present.
*/
#define DMUB_FW_VERSION(major, minor, revision) \
- ((((major) & 0xFF) << 24) | (((minor) & 0xFF) << 16) | ((
revision) & 0xFFFF
))
+ ((((major) & 0xFF) << 24) | (((minor) & 0xFF) << 16) | ((
(revision) & 0xFF) << 8
))
/**
* dmub_srv_create() - creates the DMUB service.