DSS2: Check fclk limits when configuring video planes
authorVille Syrjälä <ville.syrjala@nokia.com>
Mon, 6 Apr 2009 15:32:04 +0000 (17:32 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 1 May 2009 16:45:01 +0000 (19:45 +0300)
commit443b0b71c35f339a8d5add1fa3954bf931f1bf0e
treecbd83fc1546defbfe847597f919b0d61954fdef6
parent74284ef26e771baec007287513390853cd92b3a1
DSS2: Check fclk limits when configuring video planes

Check that the currect functional clock is fast enough to support
the requested scaling ratios. Also check if 5-tap filtering can be
used even though the downscaling ratio is less than 1:2 since the
functional clock rate required for 5-tap filtering can be less than
the requirement for 3-tap filtering, and 5-tap filtering should look
better.

Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com>
drivers/video/omap2/dss/dispc.c