OMAPDSS: DISPC: Don't allow predecimation for writeback
authorArchit Taneja <archit@ti.com>
Wed, 7 Nov 2012 06:15:03 +0000 (11:45 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 12 Nov 2012 11:52:55 +0000 (13:52 +0200)
commit1c031441a95eef928220403b6c3a2dd00d09dcdc
treef012b0d0e3464ab42592d9c9c0da6d60f495da73
parent5d501085d4a949c1d60e289d5ed3df9e20acc494
OMAPDSS: DISPC: Don't allow predecimation for writeback

Since writeback writes to a buffer instead of reading from one, predecimation
doesn't make sense for it. Configure the width and height predecimation limits
to 1 if the plane is writeback.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c