]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: shrink bitmap size in struct svm_validate_context
authorLang Yu <Lang.Yu@amd.com>
Tue, 12 Apr 2022 02:41:53 +0000 (10:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Apr 2022 13:14:22 +0000 (09:14 -0400)
commit7d392b0d1e65df9f7210b1e531020a91574bed42
tree32490dad669f2e93337116cc3b58fb008dc264c4
parent5c75aa322065fd1dbdfbfbc6a033d9db364ca473
drm/amdkfd: shrink bitmap size in struct svm_validate_context

A MAX_GPU_INSTANCE bits bitmap will suffice.

Signed-off-by: Lang Yu <Lang.Yu@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c