Re: [PATCH v2] drm/imagination: Fix the value of ROGUE_COMPUTE_FLAG_PREVENT_ALL_OVERLAP

From: Guillaume La Roque

Date: Mon Nov 23 2026 - 09:48:37 EST


On Fri, 20 Nov 2026 12:10:21 -0600, Ryan Brue <ryanbrue.dev@xxxxxxxxx> wrote:
> The firmware takes "prevent all overlap" from bit 1 of a compute
> command's flags; bit 2 is FORCE_TPU_CLK. The kernel has used bit 2 since
> the FWIF headers were added, so the firmware has never seen
> DRM_PVR_SUBMIT_JOB_COMPUTE_CMD_PREVENT_ALL_OVERLAP.

Hi,

Tested on a TI AM67A (BXS-4-64) and a SpacemiT K3 (BXM-4-64) with Mesa
main. While a fragment load runs, a compute job using a workgroup
barrier goes from 19.1 to 8.8 ms per submit on the AM67A and from 47.6
to 20.7 ms on the K3, and is unchanged when run alone.


Regards
Guillaume

Reviewed-by: Guillaume La Roque <glaroque@xxxxxxxxxxxx>
Tested-by: Guillaume La Roque <glaroque@xxxxxxxxxxxx>

--
Guillaume La Roque <glaroque@xxxxxxxxxxxx>