summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAshutosh Dixit <ashutosh.dixit@intel.com>2025-01-15 14:20:29 -0800
committerAshutosh Dixit <ashutosh.dixit@intel.com>2025-01-23 18:07:03 -0800
commitd3fedff828bb7e4a422c42caeafd5d974e24ee43 (patch)
tree254cdb798cdae6521d7ae8ae4a70b92f0e2b34a9 /tools/perf/scripts/python/export-to-postgresql.py
parentdddc53806dd2a10e210d5ea08caec6d3f92440b2 (diff)
drm/xe/oa: Set stream->pollin in xe_oa_buffer_check_unlocked
We rely on stream->pollin to decide whether or not to block during poll/read calls. However, currently there are blocking read code paths which don't even set stream->pollin. The best place to consistently set stream->pollin for all code paths is therefore to set it in xe_oa_buffer_check_unlocked. Fixes: e936f885f1e9 ("drm/xe/oa/uapi: Expose OA stream fd") Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250115222029.3002103-1-ashutosh.dixit@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions