summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/nvidia/tegra')
-rw-r--r--src/soc/nvidia/tegra/dc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/nvidia/tegra/dc.h b/src/soc/nvidia/tegra/dc.h
index a27fbc1fe1..88080082b2 100644
--- a/src/soc/nvidia/tegra/dc.h
+++ b/src/soc/nvidia/tegra/dc.h
@@ -450,7 +450,7 @@ enum {
PIXEL_CLK_DIVIDER_PCD24,
PIXEL_CLK_DIVIDER_PCD13,
};
-#define SHIFT_CLK_DIVIDER(x) ((x) & 0xff)
+#define SHIFT_CLK_DIVIDER(x) (((x) - 1) * 2)
/* DC_WIN_WIN_OPTIONS 0x700 */
#define H_DIRECTION_DECREMENT(x) ((x) << 0)