From: Lad, Prabhakar Date: Fri, 16 May 2014 13:33:12 +0000 (-0300) Subject: [media] media: davinci: vpif_display: improve vpif_buffer_queue_setup() function X-Git-Tag: omap-for-v3.16/fixes-against-rc1~25^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=172392a1185a312342b8b94398636094ef89543e;p=pandora-kernel.git [media] media: davinci: vpif_display: improve vpif_buffer_queue_setup() function this patch sets the sizes[0] of plane according to the fmt passed or which is being set in the channel, in both MMAP and USERPTR buffer type. This patch also move the calculation of offests(vpif_calculate_offsets()) to queue_setup() callback as after queue_setup() callback the application is no longer allowed to change format, and prepares to removal of config_params. Signed-off-by: Lad, Prabhakar Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed