Skip to content

Commit 92de813

Browse files
committed
drm/msm: move MDSS registers to separate header file
In preparation of adding more registers, move MDSS-related headers to the separate top-level file. Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/615310/ Link: https://lore.kernel.org/r/[email protected]
1 parent ab52d27 commit 92de813

File tree

3 files changed

+24
-16
lines changed

3 files changed

+24
-16
lines changed

drivers/gpu/drm/msm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ DISPLAY_HEADERS = \
211211
generated/mdp4.xml.h \
212212
generated/mdp5.xml.h \
213213
generated/mdp_common.xml.h \
214+
generated/mdss.xml.h \
214215
generated/sfpb.xml.h
215216

216217
$(addprefix $(obj)/,$(adreno-y)): $(addprefix $(obj)/,$(ADRENO_HEADERS))

drivers/gpu/drm/msm/registers/display/mdp5.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,6 @@ xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd">
99
<domain name="VBIF" width="32">
1010
</domain>
1111

12-
<domain name="MDSS" width="32">
13-
<reg32 offset="0x00000" name="HW_VERSION">
14-
<bitfield name="STEP" low="0" high="15" type="uint"/>
15-
<bitfield name="MINOR" low="16" high="27" type="uint"/>
16-
<bitfield name="MAJOR" low="28" high="31" type="uint"/>
17-
</reg32>
18-
19-
<reg32 offset="0x00010" name="HW_INTR_STATUS">
20-
<bitfield name="INTR_MDP" pos="0" type="boolean"/>
21-
<bitfield name="INTR_DSI0" pos="4" type="boolean"/>
22-
<bitfield name="INTR_DSI1" pos="5" type="boolean"/>
23-
<bitfield name="INTR_HDMI" pos="8" type="boolean"/>
24-
<bitfield name="INTR_EDP" pos="12" type="boolean"/>
25-
</reg32>
26-
</domain>
27-
2812
<domain name="MDP5" width="32">
2913

3014
<enum name="mdp5_intf_type">
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<database xmlns="http://nouveau.freedesktop.org/"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd">
5+
<import file="freedreno_copyright.xml"/>
6+
7+
<domain name="MDSS" width="32">
8+
<reg32 offset="0x00000" name="HW_VERSION">
9+
<bitfield name="STEP" low="0" high="15" type="uint"/>
10+
<bitfield name="MINOR" low="16" high="27" type="uint"/>
11+
<bitfield name="MAJOR" low="28" high="31" type="uint"/>
12+
</reg32>
13+
14+
<reg32 offset="0x00010" name="HW_INTR_STATUS">
15+
<bitfield name="INTR_MDP" pos="0" type="boolean"/>
16+
<bitfield name="INTR_DSI0" pos="4" type="boolean"/>
17+
<bitfield name="INTR_DSI1" pos="5" type="boolean"/>
18+
<bitfield name="INTR_HDMI" pos="8" type="boolean"/>
19+
<bitfield name="INTR_EDP" pos="12" type="boolean"/>
20+
</reg32>
21+
</domain>
22+
23+
</database>

0 commit comments

Comments
 (0)