aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <[email protected]>2022-03-01 21:20:08 -0800
committerMatt Roper <[email protected]>2022-03-02 06:52:42 -0800
commit88ed07cb2737e15b7ea412dd8ab37de2397cccdf (patch)
tree0f5994341dbaa46fdd0558dc6a2b9f0f0fa489f3 /lib/test_fortify/write_overflow-strlcpy-src.c
parente393e2aa0ad7ae0d187de93f4cbcfc480d28b5f6 (diff)
drm/i915/xehp: handle fused off CCS engines
HW resources are divided across the active CCS engines at the compute slice level, with each CCS having priority on one of the cslices. If a compute slice has no enabled DSS, its paired compute engine is not usable in full parallel execution because the other ones already fully saturate the HW, so consider it fused off. v2 (José): - moved it to its own function - fixed definition of ccs_mask v3 (Matt): - Replace fls() condition with a simple IP version test v4 (Matt): - Don't try to calculate a ccs_mask using intel_slicemask_from_dssmask() until we've determined that we're running on an Xe_HP platform where the logic makes sense (and won't overflow). Cc: Stuart Summers <[email protected]> Cc: Vinay Belgaumkar <[email protected]> Cc: Ashutosh Dixit <[email protected]> Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Signed-off-by: Stuart Summers <[email protected]> Signed-off-by: Matt Roper <[email protected]> Reviewed-by: Matt Roper <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions