diff options
author | 2021-07-21 14:50:46 -0700 | |
---|---|---|
committer | 2021-07-22 10:07:04 -0700 | |
commit | 27213d79b384d5b57d2dfa58a74b47d616f249ec (patch) | |
tree | 8c50d4f152a75661450055d850ea51f1be02df62 /drivers/gpu/drm/i915/i915_request.c | |
parent | drm/i915/guc: Remove GuC stage descriptor, add LRC descriptor (diff) | |
download | wireguard-linux-27213d79b384d5b57d2dfa58a74b47d616f249ec.tar.xz wireguard-linux-27213d79b384d5b57d2dfa58a74b47d616f249ec.zip |
drm/i915/guc: Add LRC descriptor context lookup array
Add LRC descriptor context lookup array which can resolve the
intel_context from the LRC descriptor index. In addition to lookup, it
can determine if the LRC descriptor context is currently registered with
the GuC by checking if an entry for a descriptor index is present.
Future patches in the series will make use of this array.
v2:
(Michal)
- "linux/xarray.h" -> <linux/xarray.h>
- s/lrc/LRC
(John H)
- Fix commit message
Cc: John Harrison <john.c.harrison@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210721215101.139794-4-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.c')
0 files changed, 0 insertions, 0 deletions