[Intel-gfx] [PATCH v5] drm/i915: Re-use i915 macros for checking PTEs
Lucas De Marchi
lucas.demarchi at intel.com
Wed Dec 1 00:58:51 UTC 2021
On Thu, Nov 18, 2021 at 12:54:32PM -0800, Michael Cheng wrote:
>Certain gen8 ppgtt/gtt functions are using _PAGE_RW and _PAGE_PRESENT to check
>bits 0 and 1 for PTEs. These macros are defined per architectures, and some
>architectures do not have these defined (like arm64). This patch replaces these
>two macros with their i915 equivalent implementation.
>
>Signed-off-by: Michael Cheng <michael.cheng at intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
thanks
Lucas De Marchi
More information about the Intel-gfx
mailing list