radv: add experimental support for AMD BC-250 board

AMD BC-250 is a mining board based on an AMD APU with an integrated GPU
that kernel recognizes as Cyan Skillfish.

It is basically RDNA1/GFX10, but with added hardware ray tracing
support. LLVM calls it GFX1013, see
https://llvm.org/docs/AMDGPU/AMDGPUAsmGFX1013.html

Support for this GPU hasn't been extensively tested. Some games are
known to work, some non-trivial ray query compute and ray tracing
pipeline rendering works too. Q2RTX works.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33116>
This commit is contained in:
Ivan Avdeev
2024-12-29 22:12:13 -05:00
committed by Marge Bot
parent 72fe9e3fa3
commit ff6504d4c0
8 changed files with 19 additions and 7 deletions
@@ -5910,7 +5910,7 @@ visit_bvh64_intersect_ray_amd(isel_context* ctx, nir_intrinsic_instr* instr)
node, tmax, origin, dir, inv_dir,
};
if (bld.program->gfx_level == GFX10_3) {
if (bld.program->gfx_level == GFX10_3 || bld.program->family == CHIP_GFX1013) {
std::vector<Temp> scalar_args;
for (Temp tmp : args) {
for (unsigned i = 0; i < tmp.size(); i++)