diff options
| author | Chris Wilson <[email protected]> | 2016-08-02 22:50:37 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-08-02 22:58:31 +0100 |
| commit | 15d21db87239840ae8248cf26e46391edc13cfe3 (patch) | |
| tree | cac896b83267c4df0b0dd347eef0cf601b70faff /tools/perf/scripts/python | |
| parent | e40f9ee6612c492d875b3de6dcba98522e0afe36 (diff) | |
drm/i915: Refactor golden render state emission to unconfuse gcc
GCC was inlining the init and setup functions, but was getting itself
confused into thinking that variables could be used uninitialised. If we
do the inline for gcc, it is happy! As a bonus we shrink the code.
v2: A couple of minor tweaks from Joonas
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions