drm/i915/guc: Check sizing of guc_capture output
Add intel_guc_capture_output_min_size_est function to provide a reasonable minimum size for error-capture region before allocating the shared buffer. Signed-off-by: NAlan Previn <alan.previn.teres.alexis@intel.com> Reviewed-by: NMatthew Brost <matthew.brost@intel.com> Signed-off-by: NLucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220321164527.2500062-10-alan.previn.teres.alexis@intel.com
Showing
想要评论请 注册 或 登录