aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorBaochen Qiang <[email protected]>2025-02-20 08:24:44 +0000
committerJeff Johnson <[email protected]>2025-06-07 14:36:02 +0000
commit3b6d00fa883075dcaf49221538230e038a9c0b43 (patch)
tree5c3527328994ab7f23111637e314c301329567ab /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentwifi: ath11k: don't use static variables in ath11k_debugfs_fw_stats_process() (diff)
downloadkernel-3b6d00fa883075dcaf49221538230e038a9c0b43.tar.gz
kernel-3b6d00fa883075dcaf49221538230e038a9c0b43.zip
wifi: ath11k: don't wait when there is no vdev started
For WMI_REQUEST_VDEV_STAT request, firmware might split response into multiple events dut to buffer limit, hence currently in ath11k_debugfs_fw_stats_process() we wait until all events received. In case there is no vdev started, this results in that below condition would never get satisfied ((++ar->fw_stats.num_vdev_recvd) == total_vdevs_started) finally the requestor would be blocked until wait time out. The same applies to WMI_REQUEST_BCN_STAT request as well due to: ((++ar->fw_stats.num_bcn_recvd) == ar->num_started_vdevs) Change to check the number of started vdev first: if it is zero, finish wait directly; if not, follow the old way. Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.37 Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") Signed-off-by: Baochen Qiang <[email protected]> Reviewed-by: Vasanthakumar Thiagarajan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jeff Johnson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions