[Intel-xe] [PATCH v2 0/2] drm/xe/reg_sr: Apply limit to register whitelisting

Gustavo Sousa gustavo.sousa at intel.com
Mon Jun 12 12:46:16 UTC 2023


Quoting Gustavo Sousa (2023-06-09 11:38:13-03:00)
>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

Applied the two patches and pushed. Thanks Lucas and Matt for the reviews!

--
Gustavo Sousa

>
> 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