]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/fb: Factor out functions to remap contiguous FB obj pages
authorImre Deak <imre.deak@intel.com>
Tue, 26 Oct 2021 22:51:01 +0000 (01:51 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 2 Nov 2021 16:07:40 +0000 (18:07 +0200)
commit99bb5c19af8f6173d020aa0b58f2da14c38a4996
treee7f04878cae71fd7f9164f9304f28dd4a884603c
parentd8c4bdd89a941b9eee21534d42fc2bd885987689
drm/i915/fb: Factor out functions to remap contiguous FB obj pages

Factor out functions needed to map contiguous FB obj pages to a GTT/DPT
VMA view in the next patch.

While at it s/4096/I915_GTT_PAGE_SIZE/ in add_padding_pages().

No functional changes.

v2: s/4096/I915_GTT_PAGE_SIZE/ (Matthew)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211026225105.2783797-4-imre.deak@intel.com
drivers/gpu/drm/i915/gt/intel_ggtt.c