diff options
author | Matthew Brost <matthew.brost@intel.com> | 2023-01-12 23:25:14 +0100 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-12 20:06:00 +0100 |
commit | 765b65e5bde79a9e8332c58f54a98e20fdb25fc7 (patch) | |
tree | ffded2ad171d82adc5de746e5b91b47fa5956512 /drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | |
parent | drm/xe/migrate: Add kerneldoc for the migrate subsystem (diff) | |
download | linux-765b65e5bde79a9e8332c58f54a98e20fdb25fc7.tar.xz linux-765b65e5bde79a9e8332c58f54a98e20fdb25fc7.zip |
drm/xe: Take memory ref on kernel job creation
When a job is inflight we may access memory to read the hardware seqno.
All user jobs have VM open which has a ref but kernel jobs do not
require VM so it is possible to not have memory ref. To avoid this, take
a memory ref on kernel job creation.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_ttm_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions