drm/xe: Validate user fence during creation
authorMatthew Brost <matthew.brost@intel.com>
Wed, 17 Jul 2024 14:04:28 +0000 (07:04 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 15 Aug 2024 13:44:21 +0000 (09:44 -0400)
commitddeb7989a98faf8da67ac613731a0eee32667b7d
tree822bf0c2fc30a103bac49ae963a7886c8b1d87c2
parent7c626ce4bae1ac14f60076d00eafe71af30450ba
drm/xe: Validate user fence during creation

Fail invalid addresses during user fence creation.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240717140429.1396820-1-matthew.brost@intel.com
(cherry picked from commit 0fde907da2d5fd4da68845e96c6842497159c858)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_sync.c