]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe/pf: Introduce Local Memory Translation Table
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 28 Nov 2023 15:15:05 +0000 (16:15 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:45:27 +0000 (11:45 -0500)
commitb1d20405821812ad70d95eefe58cadc6d50b0917
treed88a9374bc4b2baa1c34a84b3719b8efce709e0c
parent5bcedc9eabdc6ecd7a11f1e6147f0f601d7cdc77
drm/xe/pf: Introduce Local Memory Translation Table

The Local Memory Translation Table (LMTT) provides additional
abstraction for Virtual Functions (VF) accessing device VRAM.

This code is based on prior work of Michal Winiarski.

In this patch we focus only on LMTT initialization. Remaining LMTT
functions will be used once we add a VF provisioning to the PF.

Bspec: 44117, 52404, 59314
Reviewed-by: MichaƂ Winiarski <michal.winiarski@intel.com>
Link: https://lore.kernel.org/r/20231128151507.1015-4-michal.wajdeczko@intel.com
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/regs/xe_sriov_regs.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_lmtt.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_lmtt.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_lmtt_2l.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_lmtt_ml.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_lmtt_types.h [new file with mode: 0644]