]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Add CU mask support for MQD properties
authorJesse.Zhang <Jesse.Zhang@amd.com>
Fri, 23 Jan 2026 08:39:20 +0000 (16:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2026 19:16:30 +0000 (14:16 -0500)
commit0ea556047d49d8d735d324c9c0176e67e252ad77
tree18df84b50ce9f7af43b9e5e69035a368b0d57686
parentc26ad36d9072e0e7b0974fb67c196d043af51c2f
drm/amdgpu: Add CU mask support for MQD properties

Add new fields to the amdgpu_mqd_prop structure to track CU (Compute Unit)
mask information, including the mask itself, count, flags, and a flag to
indicate if user-specified CU masking is active.

v2: Create a generic function amdgpu_gfx_mqd_symmetrically_map_cu_mask()

Suggested-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h