File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed
drivers/gpu/drm/amd/display Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -92,11 +92,7 @@ void dc_fpu_begin(const char *function_name, const int line)
92
92
#if defined(CONFIG_X86 ) || defined(CONFIG_LOONGARCH )
93
93
kernel_fpu_begin ();
94
94
#elif defined(CONFIG_PPC64 )
95
- if (cpu_has_feature (CPU_FTR_VSX_COMP ))
96
- enable_kernel_vsx ();
97
- else if (cpu_has_feature (CPU_FTR_ALTIVEC_COMP ))
98
- enable_kernel_altivec ();
99
- else if (!cpu_has_feature (CPU_FTR_FPU_UNAVAILABLE ))
95
+ if (!cpu_has_feature (CPU_FTR_FPU_UNAVAILABLE ))
100
96
enable_kernel_fp ();
101
97
#elif defined(CONFIG_ARM64 )
102
98
kernel_neon_begin ();
@@ -125,11 +121,7 @@ void dc_fpu_end(const char *function_name, const int line)
125
121
#if defined(CONFIG_X86 ) || defined(CONFIG_LOONGARCH )
126
122
kernel_fpu_end ();
127
123
#elif defined(CONFIG_PPC64 )
128
- if (cpu_has_feature (CPU_FTR_VSX_COMP ))
129
- disable_kernel_vsx ();
130
- else if (cpu_has_feature (CPU_FTR_ALTIVEC_COMP ))
131
- disable_kernel_altivec ();
132
- else if (!cpu_has_feature (CPU_FTR_FPU_UNAVAILABLE ))
124
+ if (!cpu_has_feature (CPU_FTR_FPU_UNAVAILABLE ))
133
125
disable_kernel_fp ();
134
126
#elif defined(CONFIG_ARM64 )
135
127
kernel_neon_end ();
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ dml_ccflags := $(dml_ccflags-y) -msse
31
31
endif
32
32
33
33
ifdef CONFIG_PPC64
34
- dml_ccflags := -mhard-float -maltivec
34
+ dml_ccflags := -mhard-float
35
35
endif
36
36
37
37
ifdef CONFIG_ARM64
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ dml2_ccflags := $(dml2_ccflags-y) -msse
30
30
endif
31
31
32
32
ifdef CONFIG_PPC64
33
- dml2_ccflags := -mhard-float -maltivec
33
+ dml2_ccflags := -mhard-float
34
34
endif
35
35
36
36
ifdef CONFIG_ARM64
You can’t perform that action at this time.
0 commit comments