MQDs are smaller than a page. The BO size will always be exactly be one
page.
KFD can allocate MQDs with a suballocator. On some GPUs we allocate MQDs
together with the queue's control stack in a single BO. And on some GPUs
we allocate SDMA "MQDs" in bulk together with the HIQ MQD. So relying
Am 22.03.23 um 14:26 schrieb Alex Deucher:
On Wed, Mar 22, 2023 at 4:48 AM Christian König
wrote:
Am 21.03.23 um 20:39 schrieb Alex Deucher:
It varies by generation and we need to know the size
to expose this via debugfs.
I suspect we can't just use the BO size for this?
We could, but it
On Wed, Mar 22, 2023 at 4:48 AM Christian König
wrote:
>
> Am 21.03.23 um 20:39 schrieb Alex Deucher:
> > It varies by generation and we need to know the size
> > to expose this via debugfs.
>
> I suspect we can't just use the BO size for this?
We could, but it may be larger than the actual MQD.
Am 21.03.23 um 20:39 schrieb Alex Deucher:
It varies by generation and we need to know the size
to expose this via debugfs.
I suspect we can't just use the BO size for this?
If yes the series is Reviewed-by: Christian König
Signed-off-by: Alex Deucher
---
It varies by generation and we need to know the size
to expose this via debugfs.
Signed-off-by: Alex Deucher
---
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 1 +
2 files changed, 3 insertions(+)
diff --git