aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2022-12-16 02:38:01 +0200
committerVille Syrjälä <[email protected]>2023-01-13 16:48:57 +0200
commit488dd0758366213ab85701d7e687458cfa598c49 (patch)
tree3c8122100ab35c6294784704e8404ca356516677 /scripts/gdb/linux/tasks.py
parent3229319e446cafe51e8d3060bdf39203b95a5c98 (diff)
drm/i915/dsb: Fix DSB command buffer size checks
free_pos is in dwords, DSB_BUF_SIZE in bytes. Directly comparing the two is nonsense. Fix it up, and make sure we also account for the 8byte alignment requirement for each instruction, and also assume that each instruction normally eats two dwords. Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Animesh Manna <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions