aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-09-15 14:49:23 +0100
committerChris Wilson <[email protected]>2020-09-15 15:33:54 +0100
commit4ff64bcfe2b11be52a3fceb6b5c23d7be7916362 (patch)
treef9f65a982ef92ae41a7184e9b096c9a8c18f7b26 /lib/test_fortify/write_overflow-strcpy.c
parent884c40741234c12533caf344997c895ee1c37d60 (diff)
drm/i915/gt: Use a mmio read of the CSB in case of failure
If we find the GPU didn't update the CSB within 50us, we currently fail and eventually reset the GPU. Lets report the value from the mmio space as a last resort, it may just stave off an unnecessary GPU reset. References: HSDES#22011327657 Suggested-by: Mika Kuoppala <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Cc: Mika Kuoppala <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions