mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
drm/amdkfd: Print more sdma engine hqds in debug fs
Previously only PCIe-optimized SDMA engine hqds were exposed in debug fs. Print all SDMA engine hqds. Reported-by: Jonathan Kim <Jonathan.Kim@amd.com> Signed-off-by: Jonathan Kim <Jonathan.Kim@amd.com> Signed-off-by: Oak Zeng <Oak.Zeng@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
40a9592a26
commit
c4bb16e0f8
1 changed files with 2 additions and 1 deletions
|
@ -1937,7 +1937,8 @@ int dqm_debugfs_hqds(struct seq_file *m, void *data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (pipe = 0; pipe < get_num_sdma_engines(dqm); pipe++) {
|
for (pipe = 0; pipe < get_num_sdma_engines(dqm) +
|
||||||
|
get_num_xgmi_sdma_engines(dqm); pipe++) {
|
||||||
for (queue = 0;
|
for (queue = 0;
|
||||||
queue < dqm->dev->device_info->num_sdma_queues_per_engine;
|
queue < dqm->dev->device_info->num_sdma_queues_per_engine;
|
||||||
queue++) {
|
queue++) {
|
||||||
|
|
Loading…
Reference in a new issue