aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorToshiki Nishioka <[email protected]>2021-07-22 00:34:03 +0000
committerTony Nguyen <[email protected]>2021-08-20 15:37:49 +0000
commit691bd4d7761992914a0e83c27a4ce57d01474cda (patch)
tree8dcbd39ebf786e023854f1f5183de046a088db53 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentigc: fix page fault when thunderbolt is unplugged (diff)
downloadkernel-691bd4d7761992914a0e83c27a4ce57d01474cda.tar.gz
kernel-691bd4d7761992914a0e83c27a4ce57d01474cda.zip
igc: Use num_tx_queues when iterating over tx_ring queue
Use num_tx_queues rather than the IGC_MAX_TX_QUEUES fixed number 4 when iterating over tx_ring queue since instantiated queue count could be less than 4 where on-line cpu count is less than 4. Fixes: ec50a9d437f0 ("igc: Add support for taprio offloading") Signed-off-by: Toshiki Nishioka <[email protected]> Signed-off-by: Muhammad Husaini Zulkifli <[email protected]> Tested-by: Muhammad Husaini Zulkifli <[email protected]> Acked-by: Sasha Neftin <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions