commit | 3ce17b48da85d89769609c4302a016a1af63cfda | [log] [tgz] |
---|---|---|
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | Fri Apr 10 12:48:37 2015 +0300 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Wed Jun 17 15:44:28 2015 +0300 |
tree | 1628bcb8d33d4742ad714bdf57ebf008d55c156a | |
parent | c582935c00227b4efc79630b149b1f077d7716b2 [diff] |
OMAPDSS: DISPC: check if scaling setup failed The DISPC's scaling code seems to presume that decimation always succeeds, and so we always do find a suitable downscaling setup. However, this is not the case, and the algorithm can fail. When that happens, the code just proceeds with wrong results, causing issues later. Add the necessary checks to bail out if the scaling algorithm failed. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>