aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2024-09-24 15:32:20 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2024-09-24 15:32:20 +0800
commit34e3c4500cdc06094b37a41b622598098308ba8f (patch)
tree8e4f982087039a3a5d0d1ddde08c008c531bd98d /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentd0bb0b600081bc7c246b97b2901abbb6c357ff7b (diff)
LoongArch: Rework CPU feature probe from CPUCFG/IOCSR
Probe ISA level, TLB, IOCSR information from CPUCFG to improve kernel resilience to different core implementations. BTW, IOCSR register definition appears to be a platform-specific spec instead of an architecture spec, even for the Loongson CPUs there is no guarantee that IOCSR will always present. Thus it's dangerous to perform IOCSR probing without checking CPU type and instruction availability. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions