aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/omap2/dss/dss_features.h
diff options
context:
space:
mode:
authorGravatar Chandrabhanu Mahapatra <cmahapatra@ti.com> 2011-12-19 14:03:56 +0530
committerGravatar Tomi Valkeinen <tomi.valkeinen@ti.com> 2012-01-02 08:51:29 +0200
commit7282f1b7c9b5210114ce1ebb0ea5fe8a63fd5778 (patch)
treebb5dc70dcd6789d22953c45742662edb0422b01f /drivers/video/omap2/dss/dss_features.h
parentOMAPDSS: DISPC: Update Fir Coefficients (diff)
downloadlinux-7282f1b7c9b5210114ce1ebb0ea5fe8a63fd5778.tar.gz
linux-7282f1b7c9b5210114ce1ebb0ea5fe8a63fd5778.tar.bz2
linux-7282f1b7c9b5210114ce1ebb0ea5fe8a63fd5778.zip
OMAPDSS: DISPC: Update Scaling Clock Logic
Clock requirements for scaling in OMAP2, OMAP3 and OMAP4 are different. In OMAP2 and OMAP3 the required clock rate is a function of pixel clock, vertical downscale ratio and horizontal downscale ratio whereas in OMAP4 it is a function of pixel clock and horizontal downscale ratio only. Selection of 3-tap vs 5-tap coefficients depends on clock rate line buffer width in OMAP3 whereas in OMAP4 it is independent of clock rate and line buffer width. In OMAP2 3-tap for vertical and 5-tap for horizontal scaling is used. In OMAP4 5-tap is used both for horizontal and vertical scaling for better performance. Also, the number and width of line buffers differs in OMAP3 and OMAP4. So, clock functions have been fined tuned for OMAP3 and support has been added added for OMAP4. This code has been tested on OMAP2, OMAP3 and OMAP4, and scaling issues due to clock errors have been resolved. Signed-off-by: Chandrabhanu Mahapatra <cmahapatra@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss_features.h')
-rw-r--r--drivers/video/omap2/dss/dss_features.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss_features.h b/drivers/video/omap2/dss/dss_features.h
index 6a6c05dd45ce..cd833bbaac3d 100644
--- a/drivers/video/omap2/dss/dss_features.h
+++ b/drivers/video/omap2/dss/dss_features.h
@@ -86,6 +86,7 @@ enum dss_range_param {
FEAT_PARAM_DSIPLL_FINT,
FEAT_PARAM_DSIPLL_LPDIV,
FEAT_PARAM_DOWNSCALE,
+ FEAT_PARAM_LINEWIDTH,
};
/* DSS Feature Functions */