Re: [PATCH v3] drm/amdkfd: Account for SH/SE count when setting up cu masks.

2021-08-25 Thread Felix Kuehling
Am 2021-08-24 um 11:10 p.m. schrieb Sean Keely: > On systems with multiple SH per SE compute_static_thread_mgmt_se# > is split into independent masks, one for each SH, in the upper and > lower 16 bits. We need to detect this and apply cu masking to each > SH. The cu mask bits are assigned first t

[PATCH v3] drm/amdkfd: Account for SH/SE count when setting up cu masks.

2021-08-24 Thread Sean Keely
On systems with multiple SH per SE compute_static_thread_mgmt_se# is split into independent masks, one for each SH, in the upper and lower 16 bits. We need to detect this and apply cu masking to each SH. The cu mask bits are assigned first to each SE, then to alternate SHs, then finally to higher