Commit afe00ca0 authored by Xiong Aifei's avatar Xiong Aifei Committed by guzitao
Browse files

sw64: gpu: correct low-level mmio memset/memcpy direct calls

Sunway inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5GDKC



--------------------------------

Driver codes of the direct calls, via the SIMD-optimized memset
and memcpy functions, may raise DFAULT when using RX580 or R7
Series graphics card on sw64, so work around 'memset' references
to '_memset_c_io' and 'memcpy' to 'memcpy_fromio'.

Signed-off-by: default avatarXiong Aifei <xiongaifei@wxiat.com>

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
parent 42518209
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment