diff options
author | Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> | 2020-07-09 23:45:03 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2020-07-14 20:31:05 +0300 |
commit | aee62e02c48bd62b9b07f5e297ecfc9aaa964937 (patch) | |
tree | 306e8b64165dbc13295caab3add4bf8a09a13786 /scripts/kallsyms.c | |
parent | 42de9b0a2bb29238d316bd56407c0e727d6d7ff9 (diff) |
drm/i915/perf: Use GTT when saving/restoring engine GPR
MI_STORE_REGISTER_MEM and MI_LOAD_REGISTER_MEM need to know which
translation to use when saving restoring the engine general purpose
registers to and from the GT scratch. Since GT scratch is mapped to
ggtt, we need to set an additional bit in the command to use GTT.
Fixes: daed3e44396d17 ("drm/i915/perf: implement active wait for noa configurations")
Suggested-by: Prathap Kumar Valsan <prathap.kumar.valsan@intel.com>
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200709224504.11345-1-chris@chris-wilson.co.uk
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit e43ff99c8deda85234e6233e0f4af6cb09566a37)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'scripts/kallsyms.c')
0 files changed, 0 insertions, 0 deletions