summaryrefslogtreecommitdiff
path: root/include/linux/tc_act/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2026-03-26 14:29:09 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-03-26 14:29:09 +0800
commit95db0c9f526d583634cddb2e5914718570fbac87 (patch)
treeedfe90ba34a589cca631d41a13d0e29c491eb327 /include/linux/tc_act/git@git.tavy.me:linux.git
parent3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1 (diff)
LoongArch: Workaround LS2K/LS7A GPU DMA hang bug
1. Hardware limitation: GPU, DC and VPU are typically PCI device 06.0, 06.1 and 06.2. They share some hardware resources, so when configure the PCI 06.0 device BAR1, DMA memory access cannot be performed through this BAR, otherwise it will cause hardware abnormalities. 2. In typical scenarios of reboot or S3/S4, DC access to memory through BAR is not prohibited, resulting in GPU DMA hangs. 3. Workaround method: When configuring the 06.0 device BAR1, turn off the memory access of DC, GPU and VPU (via DC's CRTC registers). Cc: stable@vger.kernel.org Signed-off-by: Qianhai Wu <wuqianhai@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'include/linux/tc_act/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions