Commit 5c1c071a authored by Thierry Reding's avatar Thierry Reding

drm/tegra: hdmi: Name register fields consistently

Name the fields of the SOR_SEQ_CTL register consistently.
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 375e1184
...@@ -952,7 +952,7 @@ static void tegra_hdmi_encoder_mode_set(struct drm_encoder *encoder, ...@@ -952,7 +952,7 @@ static void tegra_hdmi_encoder_mode_set(struct drm_encoder *encoder,
} }
tegra_hdmi_writel(hdmi, tegra_hdmi_writel(hdmi,
SOR_SEQ_CTL_PU_PC(0) | SOR_SEQ_PU_PC(0) |
SOR_SEQ_PU_PC_ALT(0) | SOR_SEQ_PU_PC_ALT(0) |
SOR_SEQ_PD_PC(8) | SOR_SEQ_PD_PC(8) |
SOR_SEQ_PD_PC_ALT(8), SOR_SEQ_PD_PC_ALT(8),
......
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
#define HDMI_NV_PDISP_SOR_CRCB 0x5d #define HDMI_NV_PDISP_SOR_CRCB 0x5d
#define HDMI_NV_PDISP_SOR_BLANK 0x5e #define HDMI_NV_PDISP_SOR_BLANK 0x5e
#define HDMI_NV_PDISP_SOR_SEQ_CTL 0x5f #define HDMI_NV_PDISP_SOR_SEQ_CTL 0x5f
#define SOR_SEQ_CTL_PU_PC(x) (((x) & 0xf) << 0) #define SOR_SEQ_PU_PC(x) (((x) & 0xf) << 0)
#define SOR_SEQ_PU_PC_ALT(x) (((x) & 0xf) << 4) #define SOR_SEQ_PU_PC_ALT(x) (((x) & 0xf) << 4)
#define SOR_SEQ_PD_PC(x) (((x) & 0xf) << 8) #define SOR_SEQ_PD_PC(x) (((x) & 0xf) << 8)
#define SOR_SEQ_PD_PC_ALT(x) (((x) & 0xf) << 12) #define SOR_SEQ_PD_PC_ALT(x) (((x) & 0xf) << 12)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment