diff options
| author | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2025-01-16 01:20:29 +0300 |
|---|---|---|
| committer | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2025-01-24 05:07:03 +0300 |
| commit | d3fedff828bb7e4a422c42caeafd5d974e24ee43 (patch) | |
| tree | 254cdb798cdae6521d7ae8ae4a70b92f0e2b34a9 /tools/perf/scripts/python | |
| parent | dddc53806dd2a10e210d5ea08caec6d3f92440b2 (diff) | |
| download | linux-d3fedff828bb7e4a422c42caeafd5d974e24ee43.tar.xz | |
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')
0 files changed, 0 insertions, 0 deletions
