Commit ff64050
committed
drm/amd/display: Fix dc dml march cause riscv build failed
We must carefully when remove the march substr.
otherwise it will cause build failed when CONFIG_RISCV_V
Which introduced in Link.
Link:
https://lore.kernel.org/lkml/mhng-3e4b97f6-8310-487e-9f9a-1d19d6e42a1e@palmer-ri-x1c9/
Log:
CC [M] drivers/gpu/drm/amd/amdgpu/../display/dc/dml/display_mode_lib.o
riscv64-linux-gnu-gcc: error: ‘-march=r64imafdc_zicsr_zifencei_zihintpause’: ISA string must begin with rv32 or rv64
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent b0f5ef9 commit ff64050
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 48 | + | |
54 | 49 | | |
55 | 50 | | |
56 | 51 | | |
| |||
0 commit comments