[media] coda: make NV12 format default
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 16 Jul 2015 16:19:39 +0000 (13:19 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 17 Jul 2015 14:29:39 +0000 (11:29 -0300)
commit6727d4fce95586e60922bdaf57b8a0eb99482557
tree3812537bf391269c54d738398a26c00f1e25d02c
parenta269e53b1aa87157311e53e5b69699ba8f3ba4d0
[media] coda: make NV12 format default

The chroma interleaved NV12 format has higher memory bandwidth efficiency
because the chroma planes can be read/written with longer burst lengths.
Use NV12 as default format if available and consistently sort it first.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-common.c