Skip to content
Commit 4b275f50 authored by Matthew Auld's avatar Matthew Auld
Browse files

drm/xe/query: fix gt_id bounds check



The user provided gt_id should always be less than the
XE_MAX_GT_PER_TILE.

Fixes: 7793d00d ("drm/xe: Correlate engine and cpu timestamps with better accuracy")
Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
Cc: Nirmoy Das <nirmoy.das@intel.com>
Cc: <stable@vger.kernel.org> # v6.8+
Reviewed-by: default avatarNirmoy Das <nirmoy.das@intel.com>
Acked-by: default avatarHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240321110629.334701-2-matthew.auld@intel.com
parent cdf287ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment