On Fri, 2026-02-06 at 09:59 +0000, Matt Coster wrote:
> Remove a spurious 2x multiplier from this def which can cause instability
> in larger compute workloads on hardware with enhancement 38020 present.
>
> Fixes: b41ae495207e ("drm/imagination: Add GPU register headers")
> Cc: [email protected]
> Suggested-by: Simon Perretta <[email protected]>
> Signed-off-by: Matt Coster <[email protected]>
Reviewed-by: Frank Binns <[email protected]>
> ---
> drivers/gpu/drm/imagination/pvr_rogue_defs.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/imagination/pvr_rogue_defs.h
> b/drivers/gpu/drm/imagination/pvr_rogue_defs.h
> index 932b01686008..1fde3be43afe 100644
> --- a/drivers/gpu/drm/imagination/pvr_rogue_defs.h
> +++ b/drivers/gpu/drm/imagination/pvr_rogue_defs.h
> @@ -114,7 +114,7 @@
> ROGUE_CR_FWCORE_ADDR_REMAP_CONFIG0_CBASE_CLRMSK
> #define FWCORE_ADDR_REMAP_CONFIG0_SIZE_ALIGNSHIFT (12U)
>
> -#define ROGUE_MAX_COMPUTE_SHARED_REGISTERS (2 * 1024)
> +#define ROGUE_MAX_COMPUTE_SHARED_REGISTERS 1024
> #define ROGUE_MAX_VERTEX_SHARED_REGISTERS 1024
> #define ROGUE_MAX_PIXEL_SHARED_REGISTERS 1024
> #define ROGUE_CSRM_LINE_SIZE_IN_DWORDS (64 * 4 * 4)
>
> ---
> base-commit: 5023ca80f9589295cb60735016e39fc5cc714243
> change-id: 20260130-rogue-max-compute-shared-registers-fffe1e714773
>