Permalink
Browse files

OMAPDSS: DISPC: HW WA for UV plane overread HW bug

vidrot attribute is ignored for NV12 format, but setting it to
1 prevents overread of the UV plane when scaling.

Change-Id: If436c26aace4c805723ccfc1bd2b989bdc7efcd5
Signed-off-by: Sathya Prakash M R <a0393677@ti.com>
Signed-off-by: Lajos Molnar <lajos@ti.com>
  • Loading branch information...
1 parent 0b38841 commit a46ee29e1a3cc63998916d3c157fade1cc2a3a85 Lajos Molnar committed with Feb 22, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 drivers/video/omap2/dss/dispc.c
View
3 drivers/video/omap2/dss/dispc.c
@@ -1657,6 +1657,9 @@ static void _dispc_set_rotation_attrs(enum omap_plane plane, u8 rotation,
row_repeat = true;
else
row_repeat = false;
+ } else if (color_mode == OMAP_DSS_COLOR_NV12) {
+ /* WA for OMAP4+ UV plane overread HW bug */
+ vidrot = 1;
}
REG_FLD_MOD(DISPC_OVL_ATTRIBUTES(plane), vidrot, 13, 12);

0 comments on commit a46ee29

Please sign in to comment.