Re: [PATCH 4/8] media: qcom: camss: vfe-17x: use the write master matching the RDI line

From: Hitesh Patel

Date: Tue Sep 15 2026 - 05:19:08 EST


> I don't get why you are disjuncting on PIX here.
> Also isn't this a problem for ~ every VFE ?

For the other gen2 VFEs (480, 680, gen3) it is already handled: they go
through vfe_get_output_v2(), which maps write master N to line N for
every line. Only vfe-17x kept its own vfe_get_output() with the
first-free-slot reservation. The gen1 VFEs (4-1, 4-7, 4-8) have a bus
crossbar (VFE_0_BUS_XBAR_CFG) so any write master can serve any line
there and vfe_reserve_wm() is correct for them.

So the clean fix is to make vfe-17x use vfe_get_output_v2() like the
other gen2 blocks and delete the duplicate. That drops the PIX
distinction as well. I will do that in v2, with

Fixes: 7319cdf189bb ("media: camss: Add support for VFE hardware version Titan 170")

a "Fix" title, and the fixes ordered first.

Hitesh