summaryrefslogtreecommitdiff
path: root/include/linux/patchkey.h
diff options
context:
space:
mode:
authorGustavo Sousa <gustavo.sousa@intel.com>2023-06-09 17:38:15 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:35:20 +0300
commit5eeb8b443875f2a6f751ed2c77cc410fad6b2e61 (patch)
tree2741967c396f601d6991e0a7076d1272de5bd374 /include/linux/patchkey.h
parent1011812c642c664b254986fb34264c2ee8d2bb50 (diff)
downloadlinux-5eeb8b443875f2a6f751ed2c77cc410fad6b2e61.tar.xz
drm/xe/reg_sr: Apply limit to register whitelisting
If RING_MAX_NONPRIV_SLOTS denotes the maximum number of whitelisting slots, then it makes sense to refuse going above it. v2: - Use xe_gt_err() instead of drm_err() for more detailed info in the error message. (Matt) Cc: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://lore.kernel.org/r/20230609143815.302540-3-gustavo.sousa@intel.com Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions