Re: [PATCH 01/18] media: venus: hfi_venus: Set venus_sys_idle_indicator to false on V6

From: Dikshita Agarwal
Date: Thu Mar 02 2023 - 06:55:23 EST



On 3/2/2023 5:03 PM, Konrad Dybcio wrote:

On 2.03.2023 07:39, Dikshita Agarwal wrote:
On 2/28/2023 10:23 PM, Bryan O'Donoghue wrote:
On 28/02/2023 15:41, Konrad Dybcio wrote:
Can you test it and make sure ?
As I mentioned in the cover letter, 8250 still seems to work with this
patchset. I have no idea how one would go about validating the
functionality enabled through this call.
We offlined about this.

I think it is correct to say you don't have access to a display to test this on sm8250.

I do so, I will try this out for you, though I'll wait for your V2 for this series.

---
bod
Hi Konrad,

I understand from your commit text, setting this indicator for AR50L is causing issue with suspend.

Ideally it shouldn't cause any such issue. I checked with FW team and got to know that this property is not supported on AR50LT so if you set it there should be some property not supported error.

In my opinion it would be good to replace these versions checks with VPU version check you have introduced in your other patch and keep this setting for current targets and not set wherever not needed eg AR50LT.
Okay, I have two questions then:

1. Can the firmware team confirm it shouldn't crash on a fw tag
that's close to VIDEO.VE.6.0-00042-PROD-1?

2. Are there any other SoCs that SYS_IDLE is not supported on?
It hasn't been sent to the hardware by the vidc driver for
any SoC using the downstream vidc (NOT the legacy vidc_3x)
driver starting with msm-4.14, AFAICS.. check out this link:

https://github.com/sonyxperiadev/kernel/commit/8889a7d26943e96eae2f318f87b15efa4b907f28

Konrad

Yes, that's correct, I have already confirmed from FW team that this idle check is always enabled in FW now.

so driver doesn't have to set itexplicitly, that's why it works for you on 8250 I believe. So removing this setting seems fine.

My only concern is that why we see a crash when setting it on AR50LT.

Thanks,

Dikshita


Thanks,

Dikshita