drm/amdgpu/mes: add MES process/gang context size and bitmap helper
authorPrike Liang <Prike.Liang@amd.com>
Tue, 30 Jun 2026 08:47:25 +0000 (16:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jul 2026 13:15:41 +0000 (09:15 -0400)
commit91d50ffb37dfa2f36893f5b306e72006e638dbe7
tree601df2b2d07ae1e88a2d359a617aaa1ecd2fc528
parent3ddc0ae76202c447b6aec61e907b852bc94671cf
drm/amdgpu/mes: add MES process/gang context size and bitmap helper

Allocating the MES context bitmap to track the process/gang index usage.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Michael Chen <michael.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h