summaryrefslogtreecommitdiff
path: root/drivers/powercap/dtpm_devfreq.c
diff options
context:
space:
mode:
authorYunfei Dong <yunfei.dong@mediatek.com>2023-03-18 06:56:51 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-04-10 16:04:08 +0300
commit68c7df527657a9e962da7b5b9c0308557357d8dc (patch)
treea46077c82b6f0dca2c97b546e1c38a55e8c038b0 /drivers/powercap/dtpm_devfreq.c
parent6d020d81b91af80a977061e82de25cafa4456af5 (diff)
downloadlinux-68c7df527657a9e962da7b5b9c0308557357d8dc.tar.xz
media: mediatek: vcodec: Force capture queue format to MM21
While the decoder can produce frames in both MM21 and MT21C formats, only MM21 is currently supported by userspace tools (like gstreamer and libyuv). In order to ensure userspace keeps working after the SCP firmware is updated to support both MM21 and MT21C formats, force the MM21 format for the capture queue. This is meant as a stopgap solution while dynamic format switching between MM21 and MT21C isn't implemented in the driver. Fixes: 7501edef6b1f ("media: mediatek: vcodec: Different codec using different capture format") Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com> Reviewed-by: Nicolas F. R. A. Prado <nfraprado@collabora.com> Tested-by: Nicolas F. R. A. Prado <nfraprado@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/powercap/dtpm_devfreq.c')
0 files changed, 0 insertions, 0 deletions