Thread (14 messages) 14 messages, 3 authors, 2021-01-07

Re: [igt-dev] [PATCH i-g-t 1/4] lib/i915/perf: fix intel_perf_devinfo gen field

From: Umesh Nerlige Ramappa <hidden>
Date: 2021-01-07 00:07:27

On Mon, Dec 28, 2020 at 05:19:37AM +0200, Lionel Landwerlin wrote:
Inadvertently left this field uninitialized (or rather at the wrong 0
value).

Signed-off-by: Lionel Landwerlin <redacted>
Reviewed-by: Umesh Nerlige Ramappa <redacted>

Thanks,
Umesh
quoted hunk ↗ jump to hunk
Fixes: 53f8f541caae20 ("lib: Add i915_perf library")
---
lib/i915/perf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/i915/perf.c b/lib/i915/perf.c
index 53c0a9dcc..ef0f0b437 100644
--- a/lib/i915/perf.c
+++ b/lib/i915/perf.c
@@ -168,6 +168,7 @@ intel_perf_for_devinfo(uint32_t device_id,
	 * 2x6 does not have 2 samplers).
	 */
	perf->devinfo.devid = device_id;
+	perf->devinfo.gen = devinfo->gen;
	perf->devinfo.revision = revision;
	perf->devinfo.timestamp_frequency = timestamp_frequency;
	perf->devinfo.gt_min_freq = gt_min_freq;
-- 
2.30.0.rc2
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help