]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita79226092489afa6b36582abe45115e271d311c2
tree9afb1aad7310e47e0c5ce7e43c27eb1c3e1ba9c2
parent91a7bda42cec803eb81289e9b321590b8077d9a7
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