diff options
author | Lucas De Marchi <[email protected]> | 2023-09-27 12:38:52 -0700 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:41:19 -0500 |
commit | f24081cd6275748d4f7c5925645436ed406cec12 (patch) | |
tree | 3da3844af8a4220a8020bb5b7bb75fbbbc0ff1b5 /lib/crypto/mpi/mpiutil.c | |
parent | 1951dad5347e8b618f545d2c14f8d2816be61b1f (diff) |
drm/xe: Normalize pte/pde encoding
Split functions that do only part of the pde/pte encoding and that can
be called by the different places. This normalizes how pde/pte are
encoded so they can be moved elsewhere in a subsequent change.
xe_pte_encode() was calling __pte_encode() with a NULL vma, which is the
opposite of what xe_pt_stage_bind_entry() does. Stop passing a NULL vma
and just split another function that deals with a vma rather than a bo.
Reviewed-by: Matt Roper <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions