commit | e13a138bc68259dc630cb903942975efa40d2bd9 | [log] [tgz] |
---|---|---|
author | Archit Taneja <archit@ti.com> | Fri Aug 05 19:06:04 2011 +0530 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Wed Sep 14 18:08:24 2011 +0300 |
tree | 95c471d6191294cb0d0f2e2b2c08554dcc0e0141 | |
parent | ac01c29e5279fe31632e9118619b365514633235 [diff] |
OMAP: DSS2: Use a macro to declare size of the fifo_size array in dispc.c The array size of fifo_size array in the global dispc struct is currently hardcoded to 3. Replace this with the MAX_DSS_OVERLAYS macro in dss_features.h, use dss_features function to get the number of overlays instead of the ARRAY_SIZE macro in dispc_read_plane_fifo_sizes(). Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>