[media] s5p-mfc: Reduce firmware buffer size for MFC v6+ variants
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 9 Feb 2017 08:32:17 +0000 (06:32 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 5 Apr 2017 18:55:39 +0000 (15:55 -0300)
commit36fb494139a362dd8082a65941509196e0834ead
tree3cd5fb3f45fa1205c562522f6474b3cf0fee08a2
parentd1ff4e17b24975c5d90671e4dc15ebeb12832f02
[media] s5p-mfc: Reduce firmware buffer size for MFC v6+ variants

Firmware for MFC v6+ variants is not larger than 400 KiB, so there is no
need to allocate a full 1 MiB buffer for it. Reduce it to 512 KiB to keep
proper alignment of allocated buffer.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Andrzej Hajda <a.hajda@samsung.com>
Tested-by: Smitha T Murthy <smitha.t@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/s5p-mfc/regs-mfc-v6.h
drivers/media/platform/s5p-mfc/regs-mfc-v7.h
drivers/media/platform/s5p-mfc/regs-mfc-v8.h