Thomas Hellström fdb6a05383 drm/xe: Internally change the compute_mode and no_dma_fence mode naming
The name "compute_mode" can be confusing since compute uses either this
mode or fault_mode to achieve the long-running semantics, and compute_mode
can, moving forward, enable fault_mode under the hood to work around
hardware limitations.

Also the name no_dma_fence_mode really refers to what we elsewhere call
long-running mode and the mode contrary to what its name suggests allows
dma-fences as in-fences.

So in an attempt to be more consistent, rename
no_dma_fence_mode -> lr_mode
compute_mode      -> preempt_fence_mode

And adjust flags so that

preempt_fence_mode sets XE_VM_FLAG_LR_MODE
fault_mode sets XE_VM_FLAG_LR_MODE | XE_VM_FLAG_FAULT_MODE

v2:
- Fix a typo in the commit message (Oak Zeng)

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Oak Zeng <oak.zeng@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231127123349.23698-1-thomas.hellstrom@linux.intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2023-12-21 11:44:58 -05:00
..
2023-12-21 11:41:16 -05:00
2023-12-21 11:44:57 -05:00
2023-12-19 18:33:50 -05:00
2023-12-21 11:37:31 -05:00
2023-12-21 11:41:13 -05:00
2023-12-21 11:41:13 -05:00
2023-12-21 11:44:39 -05:00
2023-12-21 11:39:16 -05:00
2023-12-19 18:29:20 -05:00
2023-12-21 11:44:39 -05:00
2023-12-21 11:44:39 -05:00
2023-12-21 11:43:38 -05:00
2023-12-19 18:29:20 -05:00
2023-12-21 11:44:33 -05:00
2023-12-21 11:44:39 -05:00
2023-12-21 11:44:52 -05:00
2023-12-21 11:42:58 -05:00
2023-12-21 11:41:21 -05:00
2023-12-21 11:41:13 -05:00
2023-12-21 11:41:03 -05:00
2023-12-21 11:37:31 -05:00
2023-12-21 11:35:06 -05:00
2023-12-19 18:31:30 -05:00
2023-12-21 11:43:23 -05:00
2023-12-21 11:41:14 -05:00
2023-12-21 11:40:28 -05:00
2023-12-21 11:43:33 -05:00
2023-12-21 11:44:56 -05:00
2023-12-21 11:44:39 -05:00