[Intel-xe] ✓ CI.Patch_applied: success for Split code between common and platform specific (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Tue Mar 14 20:58:42 UTC 2023
== Series Details ==
Series: Split code between common and platform specific (rev2)
URL : https://patchwork.freedesktop.org/series/114630/
State : success
== Summary ==
=== Applying kernel patches on branch 'drm-xe-next' with base: ===
commit 8e9f9b64b5fbdfa0aa3630e5f11a683e40e51105
Author: Matthew Auld <matthew.auld at intel.com>
AuthorDate: Tue Mar 14 08:58:38 2023 +0000
Commit: Matthew Auld <matthew.auld at intel.com>
CommitDate: Tue Mar 14 10:31:41 2023 +0000
drm/xe: add xe_ttm_stolen_cpu_access_needs_ggtt()
xe_ttm_stolen_cpu_inaccessible() was originally meant to just cover the
case where stolen is not directly CPU accessible on some older
integrated platforms, and as such a GGTT mapping was also required for
CPU access (as per the check in xe_bo_create_pin_map_at()).
However with small-bar systems on dgfx we have one more case where
stolen is also inaccessible, however here we don't have any fallback
GGTT mode for CPU access. Fix the check in xe_bo_create_pin_map_at() to
make this distinction clear. In such a case the later vmap() will fail
anyway.
v2: fix kernel-doc warning
v3: Simplify further and remove cpu_inaccessible()
Suggested-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld at intel.com>
Cc: Gwan-gyeong Mun <gwan-gyeong.mun at intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
=== git am output follows ===
Applying: drm/xe: Introduce function pointers in xe_gt.c with local structure
Applying: drm/xe: Introduce function pointers in xe_guc_pc.c with local structure
Applying: drm/xe: Add platform specific functions for a new platform
More information about the Intel-xe
mailing list