aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorAlexander Lobakin <[email protected]>2020-07-22 22:10:41 +0000
committerDavid S. Miller <[email protected]>2020-07-23 01:19:03 +0000
commitbe0cec6ffd686364bbba2796bbe5eee2fad18181 (patch)
treea18079609fee07db3de80ffe4aaf1b7eb48bd520 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentqed: optimize common chain accessors (diff)
downloadkernel-be0cec6ffd686364bbba2796bbe5eee2fad18181.tar.gz
kernel-be0cec6ffd686364bbba2796bbe5eee2fad18181.zip
qed: introduce qed_chain_get_elem_used{,u32}()
Add reverse-variants of qed_chain_get_elem_left{,u32}() to be able to know current chain occupation. They will be used in the upcoming qede XDP_REDIRECT code. They share most of the logics with the mentioned ones, so were reused to collapse the latters. Signed-off-by: Alexander Lobakin <[email protected]> Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: Michal Kalderon <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions