Re: [PATCH] drm/amdkfd: Fix user queue validation on Gfx7/8

2025-02-12 Thread Alex Deucher
On Wed, Jan 29, 2025 at 7:12 PM Philip Yang wrote: > > To workaround queue full h/w issue on Gfx7/8, when application create > AQL queues, the ring buffer bo allocate size is queue_size/2 and > mapped to GPU twice using 2 attachments with same ring_bo backing > memory. > > For this case, user queu

Re: [PATCH] drm/amdkfd: Fix user queue validation on Gfx7/8

2025-02-12 Thread Philip Yang
ping... On 2025-01-29 19:04, Philip Yang wrote: To workaround queue full h/w issue on Gfx7/8, when application create AQL queues, the ring buffer bo allocate size is queue_size/2 and mapped to GPU twice using 2 attachments with same ring_bo backing memory. For this

[PATCH] drm/amdkfd: Fix user queue validation on Gfx7/8

2025-01-29 Thread Philip Yang
To workaround queue full h/w issue on Gfx7/8, when application create AQL queues, the ring buffer bo allocate size is queue_size/2 and mapped to GPU twice using 2 attachments with same ring_bo backing memory. For this case, user queue buffer validation should use queue_size/2 to verify ring_bo all