summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2023-01-12 23:25:14 +0100
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-12 20:06:00 +0100
commit765b65e5bde79a9e8332c58f54a98e20fdb25fc7 (patch)
treeffded2ad171d82adc5de746e5b91b47fa5956512 /drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
parentdrm/xe/migrate: Add kerneldoc for the migrate subsystem (diff)
downloadlinux-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