]> 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)
commit9570108dd51187566e91723525d05b9f32c14a40
tree7ac9a434fd9a55f5ed4cfbe89b192b133810fba9
parentd06f1ad1d6ae4c16b9d06394608b9c8391f3204f
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