Archit Taneja 5d501085d4 OMAPDSS: DISPC: Fix calc_scaling_44xx() bugs for writeback pipeline
dispc_ovl_calc_scaling_44xx() doesn't work correctly for writeback. There are
two issues with it:

- the function tries to calculate pixel clock for the input plane using
  dispc_plane_pclk_rate(), calling this with writeback as input plane results in
  a BUG(), this function shouldn't be called for writeback at all. Fix this by
  calculating pixel clock only when we are not in mem to mem mode.

- the maximum input_width is the product of the downscale ratio supported and
  the and the given output_width. This was calculated incorrectly by dividing
  output_width with maxdownscale. Fix this.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2012-11-12 13:52:55 +02:00
..
2012-10-12 10:21:02 +09:00
2012-10-11 00:45:21 -07:00
2012-10-13 13:22:01 -07:00
2012-10-10 20:15:24 +09:00
2012-10-12 13:56:52 -04:00
2012-10-09 16:11:46 +09:00
2012-10-10 20:15:24 +09:00
2012-10-13 10:57:01 +09:00
2012-10-13 11:16:58 +09:00
2012-10-12 22:20:28 +09:00