✓ CI.checkpatch: success for drm/xe/display: fix ttm_bo_access() usage (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Mon Dec 2 17:28:41 UTC 2024
== Series Details ==
Series: drm/xe/display: fix ttm_bo_access() usage (rev2)
URL : https://patchwork.freedesktop.org/series/141996/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit fc502816b9a95df753d425894deedec785231371
Author: Matthew Auld <matthew.auld at intel.com>
Date: Mon Dec 2 17:01:03 2024 +0000
drm/xe/display: fix ttm_bo_access() usage
ttm_bo_access() returns the size on success. Account for that otherwise
the caller incorrectly thinks this is an error in
intel_atomic_prepare_plane_clear_colors().
v2 (Thomas)
- Make sure we check for the partial copy case. Also since this api is
easy to get wrong, wrap the whole thing in a new helper to hide the
details and then convert the existing users over.
Fixes: b6308aaa24a7 ("drm/xe/display: Update intel_bo_read_from_page to use ttm_bo_access")
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/3661
Signed-off-by: Matthew Auld <matthew.auld at intel.com>
Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Cc: Matthew Brost <matthew.brost at intel.com>
Cc: Jani Nikula <jani.nikula at intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
+ /mt/dim checkpatch 26715037f44d6dd8c755dd7c3e115cf9b29782a4 drm-intel
fc502816b9a9 drm/xe/display: fix ttm_bo_access() usage
More information about the Intel-xe
mailing list