-
- Downloads
drm/xe/guc: Add capture size check in GuC log buffer
Capture-nodes generated by GuC are placed in the GuC capture ring buffer which is a sub-region of the larger Guc-Log-buffer. Add capture output size check before allocating the shared buffer. Signed-off-by:Zhanjun Dong <zhanjun.dong@intel.com> Reviewed-by:
Alan Previn <alan.previn.teres.alexis@intel.com> Signed-off-by:
Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241004193428.3311145-4-zhanjun.dong@intel.com
Showing
- drivers/gpu/drm/xe/abi/guc_log_abi.h 20 additions, 0 deletionsdrivers/gpu/drm/xe/abi/guc_log_abi.h
- drivers/gpu/drm/xe/xe_guc_capture.c 82 additions, 1 deletiondrivers/gpu/drm/xe/xe_guc_capture.c
- drivers/gpu/drm/xe/xe_guc_log.c 66 additions, 0 deletionsdrivers/gpu/drm/xe/xe_guc_log.c
- drivers/gpu/drm/xe/xe_guc_log.h 6 additions, 1 deletiondrivers/gpu/drm/xe/xe_guc_log.h
Loading
Please register or sign in to comment