OSDN Git Service

drm/i915/perf: Use gt-specific ggtt for OA and noa-wait buffers
authorUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Wed, 26 Oct 2022 22:20:55 +0000 (22:20 +0000)
committerJohn Harrison <John.C.Harrison@Intel.com>
Thu, 27 Oct 2022 19:36:40 +0000 (12:36 -0700)
commitcc85345dc804f9fbe39ca2727e63058595b01e0f
tree7120e9a6624250a89165ad6917833793c17ad771
parent2db609c014958202e067678758c2a5291a28bae5
drm/i915/perf: Use gt-specific ggtt for OA and noa-wait buffers

User passes uabi engine class and instance to the perf OA interface. Use
gt corresponding to the engine to pin the buffers to the right ggtt.

Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221026222102.5526-10-umesh.nerlige.ramappa@intel.com
drivers/gpu/drm/i915/i915_perf.c