]> 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)
commitd06f1ad1d6ae4c16b9d06394608b9c8391f3204f
tree9afb1aad7310e47e0c5ce7e43c27eb1c3e1ba9c2
parent220207f934a869a6c20f4416989db4a5abbbdc39
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