OSDN Git Service

drm/i915/gtt: allow overriding the pt alignment
authorMatthew Auld <matthew.auld@intel.com>
Fri, 18 Feb 2022 18:47:46 +0000 (00:17 +0530)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sun, 20 Feb 2022 06:26:45 +0000 (22:26 -0800)
commit2cff4b9ed6171c61cc50c38b25534f7c3d30db3c
tree9afb1aad7310e47e0c5ce7e43c27eb1c3e1ba9c2
parenta413c99fc1e49db4db27f4bf0f7791011b4e2132
drm/i915/gtt: allow overriding the pt alignment

On some platforms we have alignment restrictions when accessing LMEM
from the GTT. In the next few patches we need to be able to modify the
page-tables directly via the GTT itself.

Suggested-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220218184752.7524-10-ramalingam.c@intel.com
drivers/gpu/drm/i915/gt/intel_gtt.h
drivers/gpu/drm/i915/gt/intel_ppgtt.c