Home
last modified time | relevance | path

Searched refs:oastatus1 (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_perf.c432 u32 oastatus1 = intel_uncore_read(uncore, GEN7_OASTATUS1); in gen7_oa_hw_tail_read() local
434 return oastatus1 & GEN7_OASTATUS1_TAIL_MASK; in gen7_oa_hw_tail_read()
1072 u32 oastatus1; in gen7_oa_read() local
1078 oastatus1 = intel_uncore_read(uncore, GEN7_OASTATUS1); in gen7_oa_read()
1080 /* XXX: On Haswell we don't have a safe way to clear oastatus1 in gen7_oa_read()
1085 oastatus1 &= ~stream->perf->gen7_latched_oastatus1; in gen7_oa_read()
1107 if (unlikely(oastatus1 & GEN7_OASTATUS1_OABUFFER_OVERFLOW)) { in gen7_oa_read()
1119 oastatus1 = intel_uncore_read(uncore, GEN7_OASTATUS1); in gen7_oa_read()
1122 if (unlikely(oastatus1 & GEN7_OASTATUS1_REPORT_LOST)) { in gen7_oa_read()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_perf.c453 u32 oastatus1 = intel_uncore_read(uncore, GEN7_OASTATUS1); in gen7_oa_hw_tail_read() local
455 return oastatus1 & GEN7_OASTATUS1_TAIL_MASK; in gen7_oa_hw_tail_read()
1179 u32 oastatus1; in gen7_oa_read() local
1185 oastatus1 = intel_uncore_read(uncore, GEN7_OASTATUS1); in gen7_oa_read()
1187 /* XXX: On Haswell we don't have a safe way to clear oastatus1 in gen7_oa_read()
1192 oastatus1 &= ~stream->perf->gen7_latched_oastatus1; in gen7_oa_read()
1214 if (unlikely(oastatus1 & GEN7_OASTATUS1_OABUFFER_OVERFLOW)) { in gen7_oa_read()
1227 oastatus1 = intel_uncore_read(uncore, GEN7_OASTATUS1); in gen7_oa_read()
1230 if (unlikely(oastatus1 & GEN7_OASTATUS1_REPORT_LOST)) { in gen7_oa_read()

Completed in 14 milliseconds