diff options
| author | Sunil Khatri <sunil.khatri@amd.com> | 2026-10-01 14:01:15 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-10-07 11:55:26 -0400 |
| commit | 5d0e0733cfdef3da9128ded967673e3b0a10814e (patch) | |
| tree | a8097bcd6040fcc0e32cb39f57a362aa10292484 /scripts/Makefile.thinlto | |
| parent | 3c1d77d7b81878ae4cb60fe81be4afa14e901c42 (diff) | |
| download | linux-5d0e0733cfdef3da9128ded967673e3b0a10814e.tar.gz linux-5d0e0733cfdef3da9128ded967673e3b0a10814e.zip | |
drm/amdgpu: add amdgpu_vmid_uq_mask_init() helper
Move the duplicated VMID-mask-above-first_kfd_vmid computation out of
amdgpu_mes.c and amdgpu_amdkfd.c into a shared helper, called once
from amdgpu_vmid_mgr_init() to set vm_manager.vmid_uq_mask_gfxhub/mmhub.
MES and KFD now just read those fields instead of each computing them.
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
