aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2021-11-23 21:46:58 +0100
committerAlex Deucher <[email protected]>2021-12-01 16:02:37 -0500
commitf37668301e362a0ed4b0b2ec6866f0a02fefa4db (patch)
tree77f749b5faa37739f99346c03d0cf3b083b9cd03 /tools/perf/scripts/python
parentb9dd6fbd1587ca1204e6b5ea536115ab3fed1798 (diff)
drm/amdkfd: Slighly optimize 'init_doorbell_bitmap()'
The 'doorbell_bitmap' bitmap has just been allocated. So we can use the non-atomic '__set_bit()' function to save a few cycles as no concurrent access can happen. Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions