[PATCH 1/2] drm/xe: Remove extra spaces in xe_vm.c
Matthew Brost
matthew.brost at intel.com
Thu Mar 20 21:45:18 UTC 2025
On Thu, Mar 20, 2025 at 10:15:18PM +0100, Maarten Lankhorst wrote:
Probably add commit message.
With that:
Reviewed-by: Matthew Brost <matthew.brost at intel.com>
> Signed-off-by: Maarten Lankhorst <dev at lankhorst.se>
> ---
> drivers/gpu/drm/xe/xe_vm.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c
> index 3dbd3d38008a5..fed4b97d1882d 100644
> --- a/drivers/gpu/drm/xe/xe_vm.c
> +++ b/drivers/gpu/drm/xe/xe_vm.c
> @@ -2980,7 +2980,7 @@ static int xe_vm_bind_ioctl_validate_bo(struct xe_device *xe, struct xe_bo *bo,
> XE_64K_PAGE_MASK) ||
> XE_IOCTL_DBG(xe, addr & XE_64K_PAGE_MASK) ||
> XE_IOCTL_DBG(xe, range & XE_64K_PAGE_MASK)) {
> - return -EINVAL;
> + return -EINVAL;
> }
> }
>
> @@ -2988,7 +2988,7 @@ static int xe_vm_bind_ioctl_validate_bo(struct xe_device *xe, struct xe_bo *bo,
> if (bo->cpu_caching) {
> if (XE_IOCTL_DBG(xe, coh_mode == XE_COH_NONE &&
> bo->cpu_caching == DRM_XE_GEM_CPU_CACHING_WB)) {
> - return -EINVAL;
> + return -EINVAL;
> }
> } else if (XE_IOCTL_DBG(xe, coh_mode == XE_COH_NONE)) {
> /*
> @@ -2997,7 +2997,7 @@ static int xe_vm_bind_ioctl_validate_bo(struct xe_device *xe, struct xe_bo *bo,
> * how it was mapped on the CPU. Just assume is it
> * potentially cached on CPU side.
> */
> - return -EINVAL;
> + return -EINVAL;
> }
>
> /* If a BO is protected it can only be mapped if the key is still valid */
> --
> 2.45.2
>
More information about the Intel-xe
mailing list