Commit fd9b503d authored by Linus Walleij's avatar Linus Walleij

drm/panel: Fix ARM Versatile panel clocks

These clocks are in kHz not in Hz, oops. Fix it so my
new bandwidth calculations patch starts working with these
panels.
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180211103840.18764-1-linus.walleij@linaro.org
parent 6c7d0910
...@@ -132,7 +132,7 @@ static const struct versatile_panel_type versatile_panels[] = { ...@@ -132,7 +132,7 @@ static const struct versatile_panel_type versatile_panels[] = {
.width_mm = 79, .width_mm = 79,
.height_mm = 54, .height_mm = 54,
.mode = { .mode = {
.clock = 10000000, .clock = 10000,
.hdisplay = 320, .hdisplay = 320,
.hsync_start = 320 + 6, .hsync_start = 320 + 6,
.hsync_end = 320 + 6 + 6, .hsync_end = 320 + 6 + 6,
...@@ -156,7 +156,7 @@ static const struct versatile_panel_type versatile_panels[] = { ...@@ -156,7 +156,7 @@ static const struct versatile_panel_type versatile_panels[] = {
.width_mm = 171, .width_mm = 171,
.height_mm = 130, .height_mm = 130,
.mode = { .mode = {
.clock = 25000000, .clock = 25000,
.hdisplay = 640, .hdisplay = 640,
.hsync_start = 640 + 24, .hsync_start = 640 + 24,
.hsync_end = 640 + 24 + 96, .hsync_end = 640 + 24 + 96,
...@@ -179,7 +179,7 @@ static const struct versatile_panel_type versatile_panels[] = { ...@@ -179,7 +179,7 @@ static const struct versatile_panel_type versatile_panels[] = {
.width_mm = 34, .width_mm = 34,
.height_mm = 45, .height_mm = 45,
.mode = { .mode = {
.clock = 625000000, .clock = 62500,
.hdisplay = 176, .hdisplay = 176,
.hsync_start = 176 + 2, .hsync_start = 176 + 2,
.hsync_end = 176 + 2 + 3, .hsync_end = 176 + 2 + 3,
...@@ -203,7 +203,7 @@ static const struct versatile_panel_type versatile_panels[] = { ...@@ -203,7 +203,7 @@ static const struct versatile_panel_type versatile_panels[] = {
.width_mm = 37, .width_mm = 37,
.height_mm = 50, .height_mm = 50,
.mode = { .mode = {
.clock = 5400000, .clock = 5400,
.hdisplay = 240, .hdisplay = 240,
.hsync_start = 240 + 10, .hsync_start = 240 + 10,
.hsync_end = 240 + 10 + 10, .hsync_end = 240 + 10 + 10,
......
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