[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 25 May 2014 15:33:07 +0000 (12:33 -0300)
commit3a4d339fe8803a7e7d901f61ea268af71d899169
tree7bcc0d48f5f33e44968017b1dc1ce0f25d72e2aa
parent85ac1a1772bb41da895bad83a81f6a62c8f293f6
[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