The supported maximum resolution, bit and frame rate of different platform for each spec are not always the same, need to set the correct level and and profile values according to the chip name. patch 1 get the chip name for each platform patch 2~3 set h264 and h265 level patch 4~5 set h264 and h265 profile patch 6~7 set vp9 level and profile changed with v1: - Change the commit message for each patch. - Change the supported level for mt8195 and mt8192 --- Yunfei Dong (7): media: mediatek: vcodec: Get the chip name for each platform media: mediatek: vcodec: Set the supported h264 level for each platform media: mediatek: vcodec: Set the supported h265 level for each platform media: mediatek: vcodec: Set the supported h264 profile for each platform media: mediatek: vcodec: Set the supported h265 profile for each platform media: mediatek: vcodec: Set the supported vp9 level for each platform media: mediatek: vcodec: Set the supported vp9 profile for each platform .../mediatek/vcodec/decoder/mtk_vcodec_dec.c | 24 +-- .../vcodec/decoder/mtk_vcodec_dec_drv.c | 26 +++ .../vcodec/decoder/mtk_vcodec_dec_drv.h | 14 ++ .../vcodec/decoder/mtk_vcodec_dec_stateless.c | 168 +++++++++++++++++- 4 files changed, 208 insertions(+), 24 deletions(-) -- 2.18.0