Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/xe/bo: Add attributes field to xe_bo

A single BO can be linked to multiple VMAs, making VMA attributes
insufficient for determining the placement and PTE update attributes
of the BO. To address this, an attributes field has been added to the
BO.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://lore.kernel.org/r/20250821173104.3030148-15-himal.prasad.ghimiray@intel.com
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>

+8
+8
drivers/gpu/drm/xe/xe_bo_types.h
··· 61 61 */ 62 62 struct list_head client_link; 63 63 #endif 64 + /** @attr: User controlled attributes for bo */ 65 + struct { 66 + /** 67 + * @atomic_access: type of atomic access bo needs 68 + * protected by bo dma-resv lock 69 + */ 70 + u32 atomic_access; 71 + } attr; 64 72 /** 65 73 * @pxp_key_instance: PXP key instance this BO was created against. A 66 74 * 0 in this variable indicates that the BO does not use PXP encryption.