aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorLucas De Marchi <[email protected]>2023-07-18 12:39:24 -0700
committerRodrigo Vivi <[email protected]>2023-12-21 11:37:51 -0500
commit4d18eac03212fc2d8c3d9715e2261ac50e989403 (patch)
tree49618abdcc3436a5764b26986d13f96f7a2ae321 /tools/perf/scripts/python/net_dropmonitor.py
parent0d39b6daa5455354c485cb4d521b08740456758e (diff)
drm/xe: Use FIELD_PREP/FIELD_GET for tile id encoding
Use FIELD_PREP()/FIELD_GET() to encode the tile id into flags. Besides protecting for eventual overflow it also makes it easier to see a new flag can't be added as BIT(7). Reviewed-by: Matthew Brost <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lucas De Marchi <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions