diff options
author | Lionel Landwerlin <[email protected]> | 2018-03-22 16:02:11 +0000 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2018-04-12 21:49:30 +0200 |
commit | 4cfb3553eb40b26c1c2931e13136c2ceb216e114 (patch) | |
tree | 3ea6571350dc8d0f1381593a067aa8fd6bf20da6 /src/compiler | |
parent | 31f323165c380a1d79d6aaa2fcb9c2a9cec61dc8 (diff) |
i965/perf: fix config registration when uploading to kernel
When registring configurations to the kernel for the first time, we
run into an issue where the id number is not properly set (we're using
the wrong variable). As a result when trying to use that id later on,
we get an error.
This issue manifest itself the first time you use frameretrace after
reboot, subsequent runs are fine.
Fixes: 27ee83eaf7e9 ("i965: perf: add support for userspace configurations")
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
(cherry picked from commit 1603ce1921a511f128025a49d055283440376231)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: Juan A. Suarez Romero <[email protected]>
Conflicts:
src/mesa/drivers/dri/i965/brw_performance_query.c
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions