media: hantro: vp9: use double buffering if needed
authorJernej Skrabec <jernej.skrabec@gmail.com>
Mon, 29 Nov 2021 18:26:27 +0000 (19:26 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 16 Dec 2021 19:54:54 +0000 (20:54 +0100)
commite67a09d199cb9348bec1398bcc9c363fc04e226a
treea8d4ff7fdc680522d9a02e7232243e2c4c9a4ed4
parentea71631b7129828c0da4f9d40ec172b7b2c24105
media: hantro: vp9: use double buffering if needed

Some G2 variants need double buffering to be enabled in order to work
correctly, like that found in Allwinner H6 SoC.

Add platform quirk for that.

Reviewed-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro.h
drivers/staging/media/hantro/hantro_g2_regs.h
drivers/staging/media/hantro/hantro_g2_vp9_dec.c