]> git.karo-electronics.de Git - linux-beck.git/commit
[media] s5p-mfc-v6+: Use display_delay_enable CID
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 15 Dec 2014 21:10:57 +0000 (18:10 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Feb 2015 11:57:14 +0000 (09:57 -0200)
commit1b880ef62cc43d049bd92a31a0612caacb5f30b2
tree4d563e0add87f65fd6561b2a48312a7a90dc175e
parenta5f43c18fceb2b96ec9fddb4348f5282a71cf2b0
[media] s5p-mfc-v6+: Use display_delay_enable CID

The MFC driver has two controls, DISPLAY_DELAY and DISPLAY_DELAY_ENABLE
that allow forcing the decoder to return a decoded frame sooner
regardless of the order. The added support for firmware version 6 and
higher was not taking into account the DISPLAY_DELAY_ENABLE boolean.
Instead it had a comment stating that DISPLAY_DELAY should be set to a
negative value to disable it. This is not possible since the control
range is from 0 to 65535. This feature was also supposed to be disabled
by default in order to produce frames in display order.

Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Acked-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c