karo: tx6: set LCD x, y dimensions to 0 when disabling LCD
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 18 Apr 2016 07:33:43 +0000 (09:33 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 18 Apr 2016 07:33:43 +0000 (09:33 +0200)
commit21d5e83b40368995383d1ff3b1cbdc5d61614a10
tree1c0cf4d6a7942c9ea9f67c814edc8b2ea9d39fdf
parent0db69c20c2e42945cb1e91729fa46111a86b4a9b
karo: tx6: set LCD x, y dimensions to 0 when disabling LCD

Even when the LCD is disabled, the LCD framework will still clear the
video memory. This can take a cosiderable amount of time for the
maximum resolution of 16MiB that the i.MX6 supports.

Setting vl_row and vl_col to 0 results in a zero sized framebuffer
to avoid this unnecessary delay.
board/karo/tx6/tx6qdl.c