upstream: [media] solo6x10: Reduce OSD writes to the minimum necessary
authorIsmael Luceno <ismael.luceno@corp.bluecherry.net>
Sun, 18 May 2014 19:44:11 +0000 (16:44 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:34 +0000 (11:59 +0900)
commit9b55e62cbce889910776b75b9980d34802aab104
tree1a23e4e7c07df52a61a79f17c872f35214af9660
parent8d7bfa5a0b052cafe3c6e6c5e6cbdf84bc2af02a
upstream: [media] solo6x10: Reduce OSD writes to the minimum necessary

Instead of unconditionally writing SOLO_EOSD_EXT_SIZE() bytes to the OSD
area (which is 64 or 128 kB depending on the PCI board) we only
write the actual amount of data needed which is 16 * OSD_TEXT_MAX (= 16 * 44).

Signed-off-by: Ismael Luceno <ismael.luceno@corp.bluecherry.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/solo6x10/solo6x10-enc.c
drivers/staging/media/solo6x10/solo6x10-offsets.h