panfrost: Rename encoder/ to lib/

We'll want both encoding and decoding here, as a generic hardware
interface library based on GenXML.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6196>
This commit is contained in:
Alyssa Rosenzweig 2020-08-05 16:16:00 -04:00 committed by Marge Bot
parent 956b09653c
commit 1c62b5528a
28 changed files with 14 additions and 14 deletions

View file

@ -73,5 +73,5 @@ libpanfrost = static_library(
driver_panfrost = declare_dependency(
compile_args : compile_args_panfrost,
link_with : [libpanfrost, libpanfrostwinsys, libpanfrost_shared, libpanfrost_midgard, libpanfrost_bifrost, libpanfrost_decode, libpanfrost_encoder],
link_with : [libpanfrost, libpanfrostwinsys, libpanfrost_shared, libpanfrost_midgard, libpanfrost_bifrost, libpanfrost_decode, libpanfrost_lib],
)

View file

@ -53,7 +53,7 @@
#include "pan_blend_shaders.h"
#include "pan_cmdstream.h"
#include "pan_util.h"
#include "pandecode/decode.h"
#include "decode.h"
#include "util/pan_lower_framebuffer.h"
struct midgard_tiler_descriptor

View file

@ -36,7 +36,7 @@
#include "util/rounding.h"
#include "pan_util.h"
#include "pan_blending.h"
#include "pandecode/decode.h"
#include "decode.h"
#include "panfrost-quirks.h"
/* panfrost_bo_access is here to help us keep track of batch accesses to BOs

View file

@ -47,7 +47,7 @@
#include "pan_resource.h"
#include "pan_util.h"
#include "pan_tiling.h"
#include "pandecode/decode.h"
#include "decode.h"
#include "panfrost-quirks.h"
static struct pipe_resource *

View file

@ -48,7 +48,7 @@
#include "pan_resource.h"
#include "pan_public.h"
#include "pan_util.h"
#include "pandecode/decode.h"
#include "decode.h"
#include "pan_context.h"
#include "midgard/midgard_compile.h"

View file

@ -25,7 +25,7 @@
*/
#include "bit.h"
#include "panfrost/pandecode/decode.h"
#include "panfrost/lib/decode.h"
#include "drm-uapi/panfrost_drm.h"
#include "panfrost/encoder/pan_encoder.h"

View file

@ -19,7 +19,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
libpanfrost_encoder_files = files(
libpanfrost_lib_files = files(
'pan_encoder.h',
'pan_afbc.c',
@ -37,9 +37,9 @@ libpanfrost_encoder_files = files(
'pan_props.c',
)
libpanfrost_encoder = static_library(
'panfrost_encoder',
[libpanfrost_encoder_files],
libpanfrost_lib = static_library(
'panfrost_lib',
[libpanfrost_lib_files],
include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_panfrost_hw],
c_args : [no_override_init_args],
gnu_symbol_visibility : 'hidden',

View file

@ -32,7 +32,7 @@
#include "pan_bo.h"
#include "pan_util.h"
#include "../pandecode/public.h"
#include "wrap.h"
#include "os/os_mman.h"

View file

@ -24,7 +24,7 @@ inc_panfrost_hw = include_directories([
])
inc_panfrost = include_directories([
'.', 'include', 'shared', 'midgard', 'bifrost', 'encoder'
'.', 'include', 'shared', 'midgard', 'bifrost', 'lib'
])
subdir('shared')
@ -32,7 +32,7 @@ subdir('util')
subdir('midgard')
subdir('bifrost')
subdir('pandecode')
subdir('encoder')
subdir('lib')
files_bifrost = files(
'bifrost/cmdline.c',
@ -63,7 +63,7 @@ bifrost_compiler = executable(
libglsl_standalone,
libpanfrost_bifrost,
libpanfrost_decode,
libpanfrost_encoder,
libpanfrost_lib,
libpanfrost_midgard, # references disassemble_midgard...
],
build_by_default : with_tools.contains('panfrost')