diff options
author | Michal Wajdeczko <[email protected]> | 2017-03-14 13:33:09 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2017-03-15 15:43:43 +0000 |
commit | 16f11f46964fda7c1f8ee0cd137689abea142365 (patch) | |
tree | 04920fd2fb1b4f4ed0c4516e751fcaf0f796140b /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | b3420dde38d7458c5b0a37e909de6d2e015bfb67 (diff) |
drm/i915/guc: Use formalized struct definition for ads object
Manual pointer manipulation is error prone. Let compiler calculate
right offsets for us in case we need to change ads layout.
v2: don't call it object (Chris)
v3: restyle offset assignments (Chris)
v4: stylistic reductions
Signed-off-by: Michal Wajdeczko <[email protected]>
Cc: Oscar Mateo <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Daniele Ceraolo Spurio <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions