]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe: Introduce has_atomic_enable_pte_bit device info
authorNirmoy Das <nirmoy.das@intel.com>
Tue, 30 Apr 2024 16:25:25 +0000 (18:25 +0200)
committerNirmoy Das <nirmoy.das@intel.com>
Mon, 6 May 2024 16:14:10 +0000 (18:14 +0200)
commitc462f81b695a7cfde5ba3b0ea1a52c6abaa52a0b
treeadd8379890ba40686bacce299feac123b4aca172
parente9c190b9b8e7e07bc0ef0ba9b87321fa37b456c5
drm/xe: Introduce has_atomic_enable_pte_bit device info

Add has_atomic_enable_pte_bit to specify that a device
has PTE_AE bit in its PTE feild. Currently XE2 and PVC
supports this so set this for those two.

This will help consolidate setting atomic access bit in PTE
logic which is spread between multiple files.

Reviewed-by: Oak Zeng <oak.zeng@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240430162529.21588-2-nirmoy.das@intel.com
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_pci.c
drivers/gpu/drm/xe/xe_pci_types.h