drm/amdgpu: track MQD size for gfx and compute
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Mar 2023 17:28:33 +0000 (13:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Apr 2023 22:36:45 +0000 (18:36 -0400)
commitb185c31847856d9fa3008f727a824db163df0801
tree1ba26300f2a8b4f02edb0b05730069e2466297e1
parent8a93c691248e7ff2b3944107a1ead2671b6854f2
drm/amdgpu: track MQD size for gfx and compute

It varies by generation and we need to know the size
to expose this via debugfs.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h