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>
This commit is contained in:
parent
a5b7994306
commit
3925f9b4fe
1 changed files with 1 additions and 1 deletions
|
@ -1370,7 +1370,7 @@ struct svm_validate_context {
|
||||||
struct kfd_process *process;
|
struct kfd_process *process;
|
||||||
struct svm_range *prange;
|
struct svm_range *prange;
|
||||||
bool intr;
|
bool intr;
|
||||||
unsigned long bitmap[MAX_GPU_INSTANCE];
|
DECLARE_BITMAP(bitmap, MAX_GPU_INSTANCE);
|
||||||
struct ttm_validate_buffer tv[MAX_GPU_INSTANCE];
|
struct ttm_validate_buffer tv[MAX_GPU_INSTANCE];
|
||||||
struct list_head validate_list;
|
struct list_head validate_list;
|
||||||
struct ww_acquire_ctx ticket;
|
struct ww_acquire_ctx ticket;
|
||||||
|
|
Loading…
Add table
Reference in a new issue