diff options
author | 2022-10-04 14:19:13 +0100 | |
---|---|---|
committer | 2022-10-10 08:48:51 +0100 | |
commit | c5e595e752b3a1c68cca57c3559521237332fbec (patch) | |
tree | e3f6badbd47e480b3bad7872bb892d22b1107c3f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | drm/i915/guc: Fix revocation of non-persistent contexts (diff) | |
download | wireguard-linux-c5e595e752b3a1c68cca57c3559521237332fbec.tar.xz wireguard-linux-c5e595e752b3a1c68cca57c3559521237332fbec.zip |
drm/i915/display: handle migration for dpt
On platforms like DG2, it looks like the dpt path here is missing the
migrate-to-lmem step on discrete platforms.
v2:
- Move the vma_pin() under the for_i915_gem_ww(), otherwise the
object can be moved after dropping the lock and then doing the pin.
Fixes: 33e7a975103c ("drm/i915/xelpd: First stab at DPT support")
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Jianshui Yu <jianshui.yu@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221004131916.233474-2-matthew.auld@intel.com
(cherry picked from commit 5769f64ff09aab23a9045fa13b464fb5070d3fb2)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions