linux/drivers/video/omap2
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
..
displays OMAPDSS: remove omap_dss_device's suspend/resume 2012-10-24 08:46:23 +03:00
dss OMAPDSS: DISPC: Fix calc_scaling_44xx() bugs for writeback pipeline 2012-11-12 13:52:55 +02:00
omapfb OMAPFB: improve mode selection from EDID 2012-10-29 12:44:42 +02:00
Kconfig OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
Makefile OMAP2: avoid descending into disabled framebuffer dirs 2011-05-11 14:20:53 +03:00
vram.c OMAPDSS: VRAM: Remove clearing with sDMA 2012-09-07 20:02:09 +03:00
vrfb.c OMAPDSS: VRFB: add omap_vrfb_supported() 2012-10-17 12:17:18 +03:00