]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: add xehpsdv_ppgtt_insert_entry
authorMatthew Auld <matthew.auld@intel.com>
Fri, 18 Feb 2022 18:47:47 +0000 (00:17 +0530)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sun, 20 Feb 2022 06:26:46 +0000 (22:26 -0800)
commit07270f548bc822b66b300ae027d663a1d26c4d56
tree7ac9a434fd9a55f5ed4cfbe89b192b133810fba9
parenta79226092489afa6b36582abe45115e271d311c2
drm/i915/gtt: add xehpsdv_ppgtt_insert_entry

If this is LMEM then we get a 32 entry PT, with each PTE pointing to
some 64K block of memory, otherwise it's just the usual 512 entry PT.
This very much assumes the caller knows what they are doing.

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-11-ramalingam.c@intel.com
drivers/gpu/drm/i915/gt/gen8_ppgtt.c