Skip to contentSkip to conversation

pull request: update mediatek mt8192/mt8195 SCP firmware

DISCUSSION TingHan Shen (沈廷翰) 3 participants 3 messages Mar 15, 2023 – Mar 20, 2023

lore
Share & tools
lore
#0 lore raw

Hi ,

This is a companion update for https://lore.kernel.org/all/[email protected]/.

Please let me know if there is any issue, thank you.

--

The following changes since commit c761dbe804f903cc2df81f251d367cca285eca06:

Merge tag 'iwlwifi-fw-2023-03-13' of http://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware (2023-03-13 09:20:47 -0400)

are available in the Git repository at:

https://github.com/tinghan-shen/linux_fw_scp mtk-20230315

for you to fetch changes up to d0997ff65cb1edd0a0d6d96c998618a912132c12:

mediatek: Update mt8192/mt8195 SCP firmware to support MM21 and MT21 (2023-03-15 10:55:00 +0800)

----------------------------------------------------------------
Tinghan Shen (1):
mediatek: Update mt8192/mt8195 SCP firmware to support MM21 and MT21

 WHENCE                  |   4 ++--
 mediatek/mt8192/scp.img | Bin 328096 -> 309164 bytes
 mediatek/mt8195/scp.img | Bin 429920 -> 587828 bytes
 3 files changed, 2 insertions(+), 2 deletions(-)
Signature · 2 lines
Best regards,
TingHan
#1 lore raw
Quoted 5 lines · TingHan Shen (沈廷翰)

Hi ,

This is a companion update for https://lore.kernel.org/all/[email protected]/.

Please let me know if there is any issue, thank you.

Hi TingHan,

thank you for the patch.

I can confirm that both firmwares do indeed support both MM21 and MT21C formats (based on enum mtk_vdec_format_types):

MT8192:

[ 2664.319640] mtk_vcodec_dec:fops_vcodec_open: fops_vcodec_open(),212: decoder capability 770

MT8195:

[   64.265701] mtk_vcodec_dec:fops_vcodec_open: fops_vcodec_open(),212: decoder capability 20f60

The MT21C format does indeed provide a compressed output. And with the driver patch linked above to force selection of the MM21 format, I was able to run fluster using all of VP8, VP9 and H.264 codecs, on both platforms:

MT8192:

	        VP8: 59/61
	        VP9: 250/303
		     0/6 (HIGH)
	        H.264: 92/135
		       27/69 (JVT-FR-EXT)

MT8195:

	        VP8: 59/61
	        VP9: 276/303
		     0/6 (HIGH)
	        H.264: 95/135
		       27/69 (JVT-FR-EXT)

The MT8192 scp.img currently on linux-firmware had broken this behavior, so this is great news.

So,

Thanks,
Nícolas

Quoted 27 lines

--

The following changes since commit c761dbe804f903cc2df81f251d367cca285eca06:

Merge tag 'iwlwifi-fw-2023-03-13' of http://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware (2023-03-13 09:20:47 -0400)

are available in the Git repository at:

https://github.com/tinghan-shen/linux_fw_scp mtk-20230315

for you to fetch changes up to d0997ff65cb1edd0a0d6d96c998618a912132c12:

mediatek: Update mt8192/mt8195 SCP firmware to support MM21 and MT21 (2023-03-15 10:55:00 +0800)

----------------------------------------------------------------
Tinghan Shen (1):
mediatek: Update mt8192/mt8195 SCP firmware to support MM21 and MT21

 WHENCE                  |   4 ++--
 mediatek/mt8192/scp.img | Bin 328096 -> 309164 bytes
 mediatek/mt8195/scp.img | Bin 429920 -> 587828 bytes
 3 files changed, 2 insertions(+), 2 deletions(-)
Signature · 2 lines
Best regards,
TingHan
#2 lore raw
In reply to TingHan Shen (沈廷翰)
Quoted 9 lines · TingHan Shen (沈廷翰)

Hi ,

This is a companion update for https://lore.kernel.org/all/[email protected]/.

Please let me know if there is any issue, thank you.

--

Quoted 7 lines

The following changes since commit c761dbe804f903cc2df81f251d367cca285eca06:

Merge tag 'iwlwifi-fw-2023-03-13' of http://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware (2023-03-13 09:20:47 -0400)

are available in the Git repository at:

https://github.com/tinghan-shen/linux_fw_scp mtk-20230315

Pulled and pushed out.

josh

Quoted 16 lines

for you to fetch changes up to d0997ff65cb1edd0a0d6d96c998618a912132c12:

mediatek: Update mt8192/mt8195 SCP firmware to support MM21 and MT21 (2023-03-15 10:55:00 +0800)

----------------------------------------------------------------
Tinghan Shen (1):
mediatek: Update mt8192/mt8195 SCP firmware to support MM21 and MT21

 WHENCE                  |   4 ++--
 mediatek/mt8192/scp.img | Bin 328096 -> 309164 bytes
 mediatek/mt8195/scp.img | Bin 429920 -> 587828 bytes
 3 files changed, 2 insertions(+), 2 deletions(-)

--
Best regards,
TingHan