diff options
author | Zhi Wang <[email protected]> | 2016-06-16 08:06:58 -0400 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-06-17 19:44:25 +0100 |
commit | b2a5d1e7162889ad28a2bd96fb556540866f599c (patch) | |
tree | 0b3c5271738c4ab1a8faf20d0e6b1e97a1916ab9 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 87da603cae438a20d4c0965794c0d3ed8c410893 (diff) |
drm/i915: Use offsetof() to calculate the offset of members in PVINFO page
To get the offset of the members in PVINFO page, offsetof() looks much
better than the tricky approach in current code.
v7:
- Move "offsetof()" modification into a dedicated patch. (Joonas)
Suggested-by: Joonas Lahtinen <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Signed-off-by: Zhi Wang <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions