Skip to content

Introduce new i915 macros for checking PTEs

Michael Cheng intel-gfx 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest1 patch 2 repliesIn review
  2. v5 posting 2/21 patch 0 repliesSuperseded
  3. v5 posting 1/21 patch 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v43 patches7 repliesSuperseded
v31 patch1 replySuperseded
v11 patch0 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1drm/i915: Introduce new macros for i915 PTEdrivers/gpu/drm/i915/gt/gen8_ppgtt.c drivers/gpu/drm/i915/gt/intel_ggtt.c drivers/gpu/drm/i915/gt/intel_gtt.h +1 more+13 -102 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchLucas De Marchi
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [Intel-gfx] [PATCH v6 0/1] Introduce new i915 macros for checking PTEs

This series is to introduce new macros generic to i915 for checking 0 and 1 bits, instead on relying on whats defined by the mmu, since it could be different or non-exisitent between different platforms.

v2: Corrected sender's email.

v3: Corrected spelling error.

v4: Clean up a few other macros that are checking 0 and 1 bits. Thanks to Lucas De Marchi for suggesting these cleanups.

v5: Remove changes to GEN6_PTE_VALID/GEN6_PDE_VALID and BYT_PTE_WRITEABLE. Those macros checks for 32bit PTEs, and our new macro is checking for 64bit.

v6: Use GEN8_* instead of I915_*

Michael Cheng (1):
drm/i915: Introduce new macros for i915 PTE

 drivers/gpu/drm/i915/gt/gen8_ppgtt.c |  6 +++---
 drivers/gpu/drm/i915/gt/intel_ggtt.c |  2 +-
 drivers/gpu/drm/i915/gt/intel_gtt.h  |  3 +++
 drivers/gpu/drm/i915/gvt/gtt.c       | 12 ++++++------
 4 files changed, 13 insertions(+), 10 deletions(-)
Signature · 1 line
2.25.1