aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorHayes Wang <[email protected]>2023-09-08 07:01:52 +0000
committerDavid S. Miller <[email protected]>2023-09-11 08:58:34 +0000
commita7b8d60b37237680009dd0b025fe8c067aba0ee3 (patch)
tree794184e196f3b1272d7f1a56d2486dbc5acb3be4 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentMerge branch 'sha1105-regressions' (diff)
downloadkernel-a7b8d60b37237680009dd0b025fe8c067aba0ee3.tar.gz
kernel-a7b8d60b37237680009dd0b025fe8c067aba0ee3.zip
r8152: check budget for r8152_poll()
According to the document of napi, there is no rx process when the budget is 0. Therefore, r8152_poll() has to return 0 directly when the budget is equal to 0. Fixes: d2187f8e4454 ("r8152: divide the tx and rx bottom functions") Signed-off-by: Hayes Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions