mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02:00
drm/xe: Move XE_PTE_FLAG_READ_ONLY to xe_vm_types.h
XE_PTE_FLAG_READ_ONLY is specific to struct xe_vma, move it from xe_bo.h to xe_vm_types.h to reflect that. Reviewed-by: Francois Dugast <francois.dugast@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
parent
3534b18c36
commit
6713ee6ca1
|
|
@ -65,8 +65,6 @@
|
|||
#define XE_PAGE_PRESENT BIT_ULL(0)
|
||||
#define XE_PAGE_RW BIT_ULL(1)
|
||||
|
||||
#define XE_PTE_FLAG_READ_ONLY BIT(0)
|
||||
|
||||
#define XE_PL_SYSTEM TTM_PL_SYSTEM
|
||||
#define XE_PL_TT TTM_PL_TT
|
||||
#define XE_PL_VRAM0 TTM_PL_VRAM
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ struct xe_vma {
|
|||
/** @end: end address of this VMA within its address domain */
|
||||
u64 end;
|
||||
/** @pte_flags: pte flags for this VMA */
|
||||
#define XE_PTE_FLAG_READ_ONLY BIT(0)
|
||||
u32 pte_flags;
|
||||
|
||||
/** @bo: BO if not a userptr, must be NULL is userptr */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user