All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Ribeiro <marrbr@gmail.com>
To: Deepa Guthyappa Madivalara <deepa.madivalara@oss.qualcomm.com>
Cc: Vikash Garodia <vikash.garodia@oss.qualcomm.com>,
	Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>,
	Abhinav Kumar <abhinav.kumar@linux.dev>,
	Bryan O'Donoghue <bod@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>,
	linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v3 0/3] media: iris: Add support for mahua platform
Date: Thu,  3 Dec 2026 21:02:37 -0300	[thread overview]
Message-ID: <20261204000237.20645-1-marrbr@gmail.com> (raw)
In-Reply-To: <20261130-mahua_iris_enable-v3-0-311fdb15a11e@oss.qualcomm.com>

Hi Deepa,

I tried this series on a retail Mahua laptop, a Microsoft Surface Laptop
8 13.8" (Linux at EL2). The single-core power-up works, but decoding
fails with the production firmware the OEMs ship, so I wanted to report
it before the series lands.

Setup: patches 2/3 and 3/3 backported onto 7.3.6 with the Glymur Iris
series. The node is qcom,mahua-iris with your clocks, resets, power
domains and OPPs, plus a video-firmware child (SID 0x19e2) for EL2.

Firmware: Microsoft's signed qcvss8480.mbn from the Surface Laptop 8
driver pack:
  QC_IMAGE_VERSION_STRING=video-firmware.3.6-aeb98f00ce9fd019d4902f480bfe2f73a56f7c4d
The ASUS Zenbook A14/A16, HP OmniBook Ultra 14 and Surface Pro 12 packs
carry the same build. It is the only production-signed build I could
find.

Result: the firmware boots and lists formats, but every decode session
(H.264, HEVC, VP9) fails at stream-on:

  qcom-iris aa00000.video-codec: session error received 0x4000003: fatal error

In an earlier run with the same firmware, a host forced to one core
(vcodec0 only, HFI_PROP_CORE_ID = 1, as this series does), and
HFI_PROP_DEBUG_LOG_LEVEL set, the firmware logged:

  vDec_SetProperty_c2(2421): Configured core 1 is not supported, Monitor=88000800.
  vDec_Start(2951): Configured core 0 is not supported, Monitor=88000800.

WRAPPER_EFUSE_MONITOR (0xb0008) reads 0x88000800 on this part, and
WRAPPER_CORE_POWER_STATUS (0xb0080) reads 0x2 with only mvs0 powered.
With HFI_PROP_CORE_ID = 2 the firmware accepts one ETB/FTB and then
stops responding. Microsoft's Windows driver ships a separate Mahua
description (qcdxkmbase8480_ma.bin) with HwCoreId = 1 only. My
unverified reading is that the Codec2 path compares (monitor >> 27) & 3
against the core mask with the two bits swapped. The DirectX path Windows
uses doesn't run that check, which would explain why Windows decodes
fine.

The vpu36_p4_s7.mbn in linux-firmware (vfw-3.6:rel0049) is test-signed,
so this laptop refuses it (-22 from PAS init) and I can't compare it.

Questions:
1. Which firmware build and EFUSE_MONITOR value did you test with?
2. Is the core check fixed in a newer production build, and is one going
   to OEMs?

I can test a firmware build or driver changes on this machine.

Thanks,
Marco

(Investigated with help from Claude, an AI coding assistant; the
measurements and log lines are from my machine.)

      parent reply	other threads:[~2026-12-04  0:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  0:00 [PATCH v3 0/3] media: iris: Add support for mahua platform Deepa Guthyappa Madivalara
2026-12-01  0:00 ` [PATCH v3 1/3] dt-bindings: media: qcom,mahua-iris: Add Mahua video codec Deepa Guthyappa Madivalara
2026-12-01  0:00 ` [PATCH v3 2/3] media: iris: add mahua platform data and enable qcom,mahua-iris Deepa Guthyappa Madivalara
2026-12-01  0:00 ` [PATCH v3 3/3] arm64: dts: qcom: mahua: add iris video codec node Deepa Guthyappa Madivalara
2026-12-04  0:02 ` Marco Ribeiro [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261204000237.20645-1-marrbr@gmail.com \
    --to=marrbr@gmail.com \
    --cc=abelvesa@kernel.org \
    --cc=abhinav.kumar@linux.dev \
    --cc=andersson@kernel.org \
    --cc=bod@kernel.org \
    --cc=deepa.madivalara@oss.qualcomm.com \
    --cc=dikshita.agarwal@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=vikash.garodia@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.