This patch adds a simple algorithm which calculates the pixel clock based on the
video mode parameters. This is only done when no pixel clock is supplied through
the platform data.
Signed-off-by: Maurus Cuelenaere <redacted>
---
Changes since v1:
Re-posted this to the correct fbdev mailing list.
---
drivers/video/s3c-fb.c | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
I tested this patch by using s5pv210.
It is verified by linux-2.6.32.
The result of test is the same pixel clock as before applying patch.
Tested-by: Donghwa Lee <redacted>
2010/7/13 Maurus Cuelenaere [off-list ref]
quoted hunk
This patch adds a simple algorithm which calculates the pixel clock based on the
video mode parameters. This is only done when no pixel clock is supplied through
the platform data.
Signed-off-by: Maurus Cuelenaere <redacted>
---
Changes since v1:
Re-posted this to the correct fbdev mailing list.
---
drivers/video/s3c-fb.c | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
This patch adds a simple algorithm which calculates the pixel clock based on the
video mode parameters. This is only done when no pixel clock is supplied through
the platform data.
So.. we are to assume that there's a platform which doesn't provide
the pixel clock data? Adding some information about that in the
changelog would have been useful.
This patch adds a simple algorithm which calculates the pixel clock based on the
video mode parameters. This is only done when no pixel clock is supplied through
the platform data.
So.. we are to assume that there's a platform which doesn't provide
the pixel clock data? Adding some information about that in the
changelog would have been useful.
Not exactly, this allows you to omit the pixel clock data and thus sharing the
"algo" used for calculating it; which is done in another patch (not submitted to
linux-fbdev, see [1]).
[1] - http://www.spinics.net/lists/linux-samsung-soc/msg02086.html
--
Maurus Cuelenaere
This patch adds a simple algorithm which calculates the pixel clock based on the
video mode parameters. This is only done when no pixel clock is supplied through
the platform data.
So.. we are to assume that there's a platform which doesn't provide
the pixel clock data? Adding some information about that in the
changelog would have been useful.
Not exactly, this allows you to omit the pixel clock data and thus sharing the
"algo" used for calculating it; which is done in another patch (not submitted to
linux-fbdev, see [1]).
[1] - http://www.spinics.net/lists/linux-samsung-soc/msg02086.html
That means that there's no reason to merge this patch!
So I merged "arm: samsung: remove pixclock from several boards" as well ;)