]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/xehpsdv: set min page-size to 64K
authorMatthew Auld <matthew.auld@intel.com>
Wed, 8 Dec 2021 15:48:54 +0000 (21:18 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Thu, 9 Dec 2021 16:39:28 +0000 (22:09 +0530)
commitab26ae2c48e00e36c4884460774ef3bc4f02fc29
treecff60c89fb6334856d979abdf5e5f6c4fc6240b9
parent89ab1ab31acf1a4973f555e91f09c5e8ee868659
drm/i915/xehpsdv: set min page-size to 64K

Conditionally allocate LMEM with 64K granularity, since 4K page support
for LMEM will be dropped on some platforms when using the PPGTT.

v2:
  updated commit msg [Thomas]

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Thomas Hellstrom <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211208154854.28037-1-ramalingam.c@intel.com
drivers/gpu/drm/i915/gem/i915_gem_stolen.c
drivers/gpu/drm/i915/gt/intel_region_lmem.c