diff options
author | Umesh Nerlige Ramappa <[email protected]> | 2023-06-16 10:34:02 -0700 |
---|---|---|
committer | Ashutosh Dixit <[email protected]> | 2023-07-07 15:15:45 -0700 |
commit | 40b1588a750240cbe8a83117aa785d778749a77c (patch) | |
tree | 65f7c4397311549d51c3cc2de06c808118cff31a /lib/mpi/mpi-internal.h | |
parent | a8c94b3964c59408f531ce819f13f0209695db7f (diff) |
drm/i915/perf: Consider OA buffer boundary when zeroing out reports
For reports that are not powers of 2, reports at the end of the OA
buffer may get split across the buffer boundary. When zeroing out such
reports, take the split into consideration.
v2: Use OA_BUFFER_SIZE (Ashutosh)
Fixes: 09a36015d9a0 ("drm/i915/perf: Clear out entire reports after reading if not power of 2 size")
Signed-off-by: Umesh Nerlige Ramappa <[email protected]>
Reviewed-by: Ashutosh Dixit <[email protected]>
Signed-off-by: Ashutosh Dixit <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions