pan/bi: Rename panfrost/bifrost -> panfrost/compiler
This is the compiler for both Bifrost and Valhall, and presumably future Mali GPUs too. Give it a more generic name so we can use the bifrost/ path for something a bit more specific. For historical reasons the compiler's name is still "bifrost" and uses the prefix `bi_`. I think that's ok in the same way that i915 in the kernel supports way more than just i915. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20455>
This commit is contained in:

committed by
Marge Bot

parent
261a334509
commit
1a35acd8d9
@@ -311,7 +311,7 @@
|
||||
- src/panfrost/vulkan/*
|
||||
when: on_success
|
||||
- changes:
|
||||
- src/panfrost/bifrost/**/*
|
||||
- src/panfrost/compiler/**/*
|
||||
when: on_success
|
||||
|
||||
.broadcom-common-rules:
|
||||
|
@@ -168,7 +168,7 @@ each directory.
|
||||
- **loader** - Used by libGL.so to find and load the appropriate DRI driver.
|
||||
- **panfrost** - Panfrost-specific sources
|
||||
|
||||
- **bifrost** - shader compiler for the Bifrost generation GPUs
|
||||
- **compiler** - shader compiler for Bifrost and newer GPUs
|
||||
- **lib** - GPU data structures (command stream) support code
|
||||
- **midgard** - shader compiler for the Midgard generation GPUs
|
||||
- **shared** - shared Mali code between Lima and Panfrost
|
||||
|
@@ -33,8 +33,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <genxml/gen_macros.h>
|
||||
|
||||
#include "bifrost/disassemble.h"
|
||||
#include "bifrost/valhall/disassemble.h"
|
||||
#include "compiler/disassemble.h"
|
||||
#include "compiler/valhall/disassemble.h"
|
||||
#include "midgard/disassemble.h"
|
||||
#include "util/set.h"
|
||||
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#if PAN_ARCH <= 5
|
||||
#include "panfrost/midgard/midgard_compile.h"
|
||||
#else
|
||||
#include "panfrost/bifrost/bifrost_compile.h"
|
||||
#include "panfrost/compiler/bifrost_compile.h"
|
||||
#endif
|
||||
|
||||
const nir_shader_compiler_options *
|
||||
|
@@ -24,7 +24,7 @@ inc_panfrost_hw = include_directories([
|
||||
])
|
||||
|
||||
inc_panfrost = include_directories([
|
||||
'.', 'include', 'shared', 'midgard', 'bifrost', 'lib'
|
||||
'.', 'include', 'shared', 'midgard', 'compiler', 'lib'
|
||||
])
|
||||
|
||||
compile_args_panfrost = [
|
||||
@@ -34,7 +34,7 @@ compile_args_panfrost = [
|
||||
subdir('shared')
|
||||
subdir('util')
|
||||
subdir('midgard')
|
||||
subdir('bifrost')
|
||||
subdir('compiler')
|
||||
|
||||
if with_gallium_panfrost or with_panfrost_vk
|
||||
subdir('lib')
|
||||
@@ -42,7 +42,7 @@ if with_gallium_panfrost or with_panfrost_vk
|
||||
endif
|
||||
|
||||
files_bifrost = files(
|
||||
'bifrost/cmdline.c',
|
||||
'compiler/cmdline.c',
|
||||
)
|
||||
|
||||
bifrost_compiler = executable(
|
||||
|
Reference in New Issue
Block a user