drm/xe: Validate user fence during creation
authorMatthew Brost <matthew.brost@intel.com>
Wed, 17 Jul 2024 14:04:28 +0000 (07:04 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 18 Jul 2024 17:17:15 +0000 (10:17 -0700)
commit0fde907da2d5fd4da68845e96c6842497159c858
tree93ac045eb54cb9a39630987e202d5a8bfc2efb95
parent275aa53f59df769802f28a0a623019aadab2e05d
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
drivers/gpu/drm/xe/xe_sync.c