-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <dmitry.baryshkov@linaro.org> Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Patchwork: https://patchwork.freedesktop.org/patch/615310/ Link: https://lore.kernel.org/r/20240921-msm-mdss-ubwc-v1-1-411dcf309d05@linaro.org
- Loading branch information
Dmitry Baryshkov
committed
Nov 1, 2024
1 parent
ab52d27
commit 92de813
Showing
3 changed files
with
24 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<database xmlns="http://nouveau.freedesktop.org/" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> | ||
<import file="freedreno_copyright.xml"/> | ||
|
||
<domain name="MDSS" width="32"> | ||
<reg32 offset="0x00000" name="HW_VERSION"> | ||
<bitfield name="STEP" low="0" high="15" type="uint"/> | ||
<bitfield name="MINOR" low="16" high="27" type="uint"/> | ||
<bitfield name="MAJOR" low="28" high="31" type="uint"/> | ||
</reg32> | ||
|
||
<reg32 offset="0x00010" name="HW_INTR_STATUS"> | ||
<bitfield name="INTR_MDP" pos="0" type="boolean"/> | ||
<bitfield name="INTR_DSI0" pos="4" type="boolean"/> | ||
<bitfield name="INTR_DSI1" pos="5" type="boolean"/> | ||
<bitfield name="INTR_HDMI" pos="8" type="boolean"/> | ||
<bitfield name="INTR_EDP" pos="12" type="boolean"/> | ||
</reg32> | ||
</domain> | ||
|
||
</database> |