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@intel.com
Reviewed-by: Lucas De Marchi lucas.demarchi@intel.com
thanks Lucas De Marchi