backport: feat: support rdna graphics card#7
Open
RevySR wants to merge 3 commits intoeswincomputing:linux-6.6.18-EIC7Xfrom
Open
backport: feat: support rdna graphics card#7RevySR wants to merge 3 commits intoeswincomputing:linux-6.6.18-EIC7Xfrom
RevySR wants to merge 3 commits intoeswincomputing:linux-6.6.18-EIC7Xfrom
Conversation
This is needed to support recent hardware in the amdgpu DRM driver. The FPU code in that driver is not performance-critical, so only provide the minimal support. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Link: https://lore.kernel.org/r/20231122030621.3759313-2-samuel.holland@sifive.com Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Since it is not possible to incrementally add/remove extensions from the compiler's ISA string by appending arguments, any code that wants to modify the ISA string must recreate the whole thing. To support this, factor out the logic for generating the -march argument so it can be reused where needed. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Link: https://lore.kernel.org/r/20231122030621.3759313-3-samuel.holland@sifive.com Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
RISC-V uses kernel_fpu_begin()/kernel_fpu_end() like several other architectures. Enabling hardware FP requires overriding the ISA string for the relevant compilation units. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Link: https://lore.kernel.org/r/20231122030621.3759313-4-samuel.holland@sifive.com Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
super2279
pushed a commit
that referenced
this pull request
Apr 30, 2025
…ng/linux-stable:linux-6.6.18-EIC7X into linux-6.6.18-EIC7X Reviewed-on: http://10.100.130.109:3000/Upstream/linux-stable/pulls/7 Reviewed-by: ningyu <ningyu@eswincomputing.com> Reviewed-by: Joey Zheng <zhengyu@eswincomputing.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.