aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@intel.com>2019-04-16 10:21:19 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-05-04 14:22:55 -0700
commita85a3847fb5164f08e2a5c0cc0b386f0a79293a6 (patch)
tree380ab4827437ec64a3548ed4c3715f9928397a5b /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentice: Do not unnecessarily initialize local variable (diff)
downloadwireguard-linux-a85a3847fb5164f08e2a5c0cc0b386f0a79293a6.tar.xz
wireguard-linux-a85a3847fb5164f08e2a5c0cc0b386f0a79293a6.zip
ice: Always free/allocate q_vectors
Currently when probing/removing the driver we allocate/deallocate each vsi->q_vectors array in ice_vsi_alloc_arrays() and ice_vsi_free_arrays() respectively. However, we don't do this during the reset and VSI rebuild flow. This is inconsistent and unnecessary to have a difference between the two flows. This patch makes the change to always allocate/deallocate the vsi->q_vectors array regardless of the driver flow we are in. Also, update the comment for ice_vsi_free_arrays() to be more descriptive. Signed-off-by: Brett Creeley <brett.creeley@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions