Skip to content

Use i915 macros to check for PTEs

Michael Cheng dri-devel intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v5 Latest0 of 1 patch 1 replyIn review

Patches in v5 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

PatchLucas De Marchi
SeriesR-b

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

Read the v5 thread

Cover letter [PATCH v5 0/1] Use i915 macros to check for PTEs

Instead of using _PAGE_RW and _PAGE_PRESENT to check for 0 and 1 bits, this series replaces them with GEN6_PTE_VALID and BYT_PTE_WRITEABLE. We should be using macros defined for i915 to check these bits, instead of macros defined by the mmu. Some arch does not have these macros defined, thus leading to compilation errors.

v2: Corrected sender's email.

v3: Corrected spelling error.

v4: Clean up a few other macros that are checking 0 and 1 bits.

v5: Instead of introducing new macros for checking 0 and 1 bits,
re-use already defined macros for i915.

Michael Cheng (1):
drm/i915: Re-use i915 macros for checking PTEs

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