Re: [PATCH] drm/imagination: Check virtual address space size only once
From: Brajesh Gupta
Date: Wed Oct 21 2026 - 06:11:31 EST
On Tue, 06 Oct 2026 11:08:06 +0300, Alexandru Dadu wrote:
> Every time a virtual memory context is created, the driver reads the
> size of the virtual address space, as reported by the firmware binary,
> and compares it against a define for the same, but both values are fixed
> on a given core, and on top of that, all known Imagination GPU cores use
> the same 40-bit virtual address space.
>
> Move the check above to a new function for GPU device info validation
> code, so it's performed only once.
> This also allows other areas of the driver to reference the relevant
> defines without having to perform other checks at runtime, as long as
> all cores keep using the same virtual address space.
>
> [...]
Applied to drm-misc-next, thanks!
[1/1] drm/imagination: Check virtual address space size only once
commit: b3de601e57d983e4a42e27d499516041c11c2bde
Best regards,
--
Brajesh Gupta <brajesh.gupta@xxxxxxxxxx>