Commit d9848e14 authored by Oak Zeng's avatar Oak Zeng Committed by Alex Deucher

drm/amdkfd: Set gws_mask to 64 bit 1s

Previous kfd doesn't use gws so this mask was set to 0.
Set it to 64 bit 1s because now kfd can use all 64 gws
resources.
Signed-off-by: default avatarOak Zeng <Oak.Zeng@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9cbee6ef
...@@ -998,8 +998,8 @@ static int set_sched_resources(struct device_queue_manager *dqm) ...@@ -998,8 +998,8 @@ static int set_sched_resources(struct device_queue_manager *dqm)
res.queue_mask |= (1ull << i); res.queue_mask |= (1ull << i);
} }
res.gws_mask = res.oac_mask = res.gds_heap_base = res.gws_mask = ~0ull;
res.gds_heap_size = 0; res.oac_mask = res.gds_heap_base = res.gds_heap_size = 0;
pr_debug("Scheduling resources:\n" pr_debug("Scheduling resources:\n"
"vmid mask: 0x%8X\n" "vmid mask: 0x%8X\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment