Lines Matching defs:report
126 * and while we could pull a report out of the OA buffer we can't
127 * trigger a report from the cpu on demand.
129 * Related to being report based; the OA counters are configured in HW as a
134 * OA unit report format used to capture all counters in a set, or specify a
150 * With the OA unit's report formats, counters are packed together as 32
151 * or 40bit values, with the largest report size being 256 bytes.
175 * ring buffer. To include more than the OA report we'd have to copy the
176 * report into an intermediate larger buffer. I'd been considering allowing a
190 * majority of the OA driver ran in atomic context, including all OA report
252 * by checking for a zeroed report-id field in tail reports, we want to account
302 * overflow in OA report timestamps.
334 /* XXX: beware if future OA HW adds new report formats that the current
370 * @oa_format: An OA unit HW report format
549 * represents >= one report more data than is already available for
585 * @type: The kind of status to report to userspace
625 * append_oa_sample - Copies single OA report into userspace read() buffer.
630 * @report: A single OA report to (optionally) include as part of the sample
651 const u8 *report)
678 ret = -uiomove(__UNCONST(report), report_size, buf);
682 if (copy_to_user(buf, report, report_size))
771 * only be incremented by multiples of the report size (notably also
784 u8 *report = oa_buf_base + head;
785 u32 *report32 = (void *)report;
790 * All the report sizes factor neatly into the buffer
791 * size so we never expect to see a report split
799 DRM_ERROR("Spurious OA head ptr: non-integral report offset\n");
805 * triggered this specific report (mostly timer
809 * check that the report isn't invalid before copying
818 DRM_NOTE("Skipping spurious, invalid OA report\n");
865 * identify a switch before any 'context switch' report.
882 report);
1091 * only be incremented by multiples of the report size (notably also
1104 u8 *report = oa_buf_base + head;
1105 u32 *report32 = (void *)report;
1107 /* All the report sizes factor neatly into the buffer
1108 * size so we never expect to see a report split
1116 DRM_ERROR("Spurious OA head ptr: non-integral report offset\n");
1120 /* The report-ID field for periodic samples includes
1122 * the report and is never expected to be zero so we
1123 * can check that the report isn't invalid before
1128 DRM_NOTE("Skipping spurious, invalid OA report\n");
1132 ret = append_oa_sample(stream, buf, count, offset, report);
1136 /* The above report-id field sanity check is based on
1217 * which will start to report a near-empty buffer after an
1519 DRM_NOTE("%d spurious OA report notices suppressed due to ratelimiting\n",
1563 * report-id field to make sure it's non-zero which relies on
2853 DRM_DEBUG("Only OA report sampling supported\n");
2873 DRM_DEBUG("OA report format not specified\n");
3113 report we don't immediately know whether
3132 /* We allow the poll checking to sometimes report false positive EPOLLIN
3133 * events where we might actually report EAGAIN on read() if there's
3786 DRM_DEBUG("Out-of-range OA report format %"PRIu64"\n",
3791 DRM_DEBUG("Unsupported OA report format %"PRIu64"\n",