aboutsummaryrefslogtreecommitdiff
path: root/fs/autofs
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2023-03-14 08:58:38 +0000
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-19 18:29:47 -0500
commit69db25e447b8a3b9153db8a9004c50b080d0497e (patch)
treed186412b621f37059d4f9026a7ecc9aa93ebdaa5 /fs/autofs
parentddad061e8fbcba69bbdd9ee05b1749810c419920 (diff)
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@linux.intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'fs/autofs')
0 files changed, 0 insertions, 0 deletions