summaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-11-07 11:45:02 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-11-12 13:52:55 +0200
commit5d501085d4a949c1d60e289d5ed3df9e20acc494 (patch)
tree938bc59ae1f5ba2775e5ee79b5d7735b0ab79f95 /net/switchdev/switchdev.c
parent76eed4bcb6f90e77764ec024411d6b409ce7c8a1 (diff)
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions