Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Huge PTE and scratch page updates
@ 2023-12-09 15:18 Thomas Hellström
  2023-12-09 15:18 ` [PATCH v3 1/2] drm/xe: Restrict huge PTEs to 1GiB Thomas Hellström
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Thomas Hellström @ 2023-12-09 15:18 UTC (permalink / raw)
  To: intel-xe; +Cc: Lucas De Marchi, Matt Roper

The first patch restricts encoding of huge PTEs to 1GiB and adds a define
for the maximum level for which huge PTEs are available.

The second patch replaces scratch PTEs with NULL PTEs.

v3:
- Rebase

Cc: Brian Welty <brian.welty@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>

Thomas Hellström (2):
  drm/xe: Restrict huge PTEs to 1GiB
  drm/xe: Use NULL PTEs as scratch PTEs

 drivers/gpu/drm/xe/xe_pt.c       | 68 +++++---------------------
 drivers/gpu/drm/xe/xe_pt.h       |  6 +--
 drivers/gpu/drm/xe/xe_vm.c       | 84 ++++++++++++++++++++++----------
 drivers/gpu/drm/xe/xe_vm.h       | 11 +++++
 drivers/gpu/drm/xe/xe_vm_types.h |  1 -
 5 files changed, 82 insertions(+), 88 deletions(-)

-- 
2.42.0



Thomas Hellström (2):
  drm/xe: Restrict huge PTEs to 1GiB
  drm/xe: Use NULL PTEs as scratch PTEs

 drivers/gpu/drm/xe/xe_pt.c       | 68 ++++++--------------------------
 drivers/gpu/drm/xe/xe_pt.h       |  6 +--
 drivers/gpu/drm/xe/xe_vm.c       | 68 ++++++++++++++++++++++++++------
 drivers/gpu/drm/xe/xe_vm.h       | 11 ++++++
 drivers/gpu/drm/xe/xe_vm_types.h |  1 -
 5 files changed, 81 insertions(+), 73 deletions(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-12-09 16:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-09 15:18 [PATCH v3 0/2] Huge PTE and scratch page updates Thomas Hellström
2023-12-09 15:18 ` [PATCH v3 1/2] drm/xe: Restrict huge PTEs to 1GiB Thomas Hellström
2023-12-09 15:18 ` [PATCH v3 2/2] drm/xe: Use NULL PTEs as scratch PTEs Thomas Hellström
2023-12-09 15:41 ` ✓ CI.Patch_applied: success for Huge PTE and scratch page updates (rev2) Patchwork
2023-12-09 15:42 ` ✓ CI.checkpatch: " Patchwork
2023-12-09 15:43 ` ✓ CI.KUnit: " Patchwork
2023-12-09 15:50 ` ✓ CI.Build: " Patchwork
2023-12-09 15:50 ` ✓ CI.Hooks: " Patchwork
2023-12-09 15:52 ` ✓ CI.checksparse: " Patchwork
2023-12-09 16:28 ` ✓ CI.BAT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox