summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-12-16 02:38:01 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2023-01-13 16:48:57 +0200
commit488dd0758366213ab85701d7e687458cfa598c49 (patch)
tree3c8122100ab35c6294784704e8404ca356516677 /tools/perf/scripts/python/export-to-postgresql.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ä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221216003810.13338-5-ville.syrjala@linux.intel.com Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions