diff options
| author | Lucas De Marchi <lucas.demarchi@intel.com> | 2023-06-11 15:24:43 -0700 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 11:34:14 -0500 |
| commit | a0ea91db616c386a9b5689dbbb7f57073f993368 (patch) | |
| tree | 912e51e243f87e506b8808be33b686d3034167d4 /drivers/gpu/drm/xe/xe_pt.h | |
| parent | 6713ee6ca19e3cd43798b4b40f8b13489c724a89 (diff) | |
drm/xe: Rename pte/pde encoding functions
Remove the leftover TODO by renameing the functions to use xe prefix.
Since the static __gen8_pte_encode() already has a double score,
just remove the prefix.
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20230611222447.2837573-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_pt.h')
| -rw-r--r-- | drivers/gpu/drm/xe/xe_pt.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/xe/xe_pt.h b/drivers/gpu/drm/xe/xe_pt.h index 10f334b9c004..54e8a043d353 100644 --- a/drivers/gpu/drm/xe/xe_pt.h +++ b/drivers/gpu/drm/xe/xe_pt.h @@ -45,10 +45,10 @@ __xe_pt_unbind_vma(struct xe_tile *tile, struct xe_vma *vma, struct xe_engine *e bool xe_pt_zap_ptes(struct xe_tile *tile, struct xe_vma *vma); -u64 gen8_pde_encode(struct xe_bo *bo, u64 bo_offset, - const enum xe_cache_level level); +u64 xe_pde_encode(struct xe_bo *bo, u64 bo_offset, + const enum xe_cache_level level); -u64 gen8_pte_encode(struct xe_vma *vma, struct xe_bo *bo, - u64 offset, enum xe_cache_level cache, - u32 flags, u32 pt_level); +u64 xe_pte_encode(struct xe_vma *vma, struct xe_bo *bo, + u64 offset, enum xe_cache_level cache, + u32 flags, u32 pt_level); #endif |
