[Intel-xe] [PATCH v2 0/2] drm/xe/reg_sr: Apply limit to register whitelisting
Gustavo Sousa
gustavo.sousa at intel.com
Fri Jun 9 14:38:13 UTC 2023
If RING_MAX_NONPRIV_SLOTS denotes the maximum number of whitelisting
slots, then it makes sense to refuse going above it.
v2:
- Add a patch for using a single parameter for xe_reg_sr_apply_whitelist().
- Use xe_gt_err() instead of drm_err(). (Matt)
Gustavo Sousa (2):
drm/xe/reg_sr: Use a single parameter for xe_reg_sr_apply_whitelist()
drm/xe/reg_sr: Apply limit to register whitelisting
drivers/gpu/drm/xe/xe_gt.c | 3 +--
drivers/gpu/drm/xe/xe_hw_engine.c | 2 +-
drivers/gpu/drm/xe/xe_reg_sr.c | 14 ++++++++++++--
drivers/gpu/drm/xe/xe_reg_sr.h | 4 ++--
4 files changed, 16 insertions(+), 7 deletions(-)
--
2.40.1
More information about the Intel-xe
mailing list