mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
drm/xe: Drop bogus vma NULL check
The vma pointer can't be NULL here. Cc: Matthew Auld <matthew.auld@intel.com> Signed-off-by: Nirmoy Das <nirmoy.das@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240318093547.16326-1-nirmoy.das@intel.com
This commit is contained in:
parent
a96cd71ec7
commit
6d74e387aa
|
|
@ -618,7 +618,7 @@ xe_pt_stage_bind(struct xe_tile *tile, struct xe_vma *vma,
|
|||
struct xe_pt *pt = xe_vma_vm(vma)->pt_root[tile->id];
|
||||
int ret;
|
||||
|
||||
if (vma && (vma->gpuva.flags & XE_VMA_ATOMIC_PTE_BIT) &&
|
||||
if ((vma->gpuva.flags & XE_VMA_ATOMIC_PTE_BIT) &&
|
||||
(is_devmem || !IS_DGFX(xe)))
|
||||
xe_walk.default_pte |= XE_USM_PPGTT_PTE_AE;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user