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)
commit3925f9b4fed1b51bfe17770a63609a7a0f6e4808
tree32490dad669f2e93337116cc3b58fb008dc264c4
parenta5b7994306f66a62acb48734b5577809a87a1cf2
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