diff options
author | Rob Clark <[email protected]> | 2018-11-11 10:10:46 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-11-27 15:44:02 -0500 |
commit | b4476138d5ad3f8d30c14ee61f2f375edfdbab2a (patch) | |
tree | 023f9d60e21ad74aa341bf49cfd07a4cb5ed5a03 /src/gallium/drivers/freedreno/meson.build | |
parent | 6cb74eb4f1499d6e319a1c96d16174038e22540d (diff) |
freedreno: move drm to common location
So that we can re-use at least parts of it for vulkan driver, and so
that we can move ir3 to a common location (which uses fd_bo to allocate
storage for shaders)
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/meson.build')
-rw-r--r-- | src/gallium/drivers/freedreno/meson.build | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/src/gallium/drivers/freedreno/meson.build b/src/gallium/drivers/freedreno/meson.build index 4024d2fa99f..e0ad9ff4ce0 100644 --- a/src/gallium/drivers/freedreno/meson.build +++ b/src/gallium/drivers/freedreno/meson.build @@ -71,21 +71,6 @@ files_libfreedreno = files( 'freedreno_texture.h', 'freedreno_util.c', 'freedreno_util.h', - 'drm/freedreno_bo.c', - 'drm/freedreno_bo_cache.c', - 'drm/freedreno_device.c', - 'drm/freedreno_drmif.h', - 'drm/freedreno_pipe.c', - 'drm/freedreno_priv.h', - 'drm/freedreno_ringbuffer.c', - 'drm/freedreno_ringbuffer.h', - 'drm/msm_bo.c', - 'drm/msm_device.c', - 'drm/msm_drm.h', - 'drm/msm_pipe.c', - 'drm/msm_priv.h', - 'drm/msm_ringbuffer.c', - 'drm/msm_ringbuffer_sp.c', 'a2xx/a2xx.xml.h', 'a2xx/disasm-a2xx.c', 'a2xx/fd2_blend.c', @@ -255,6 +240,7 @@ files_libfreedreno = files( freedreno_includes = [ inc_src, inc_include, inc_gallium, inc_gallium_aux, + inc_freedreno, include_directories('ir3') ] @@ -275,15 +261,17 @@ libfreedreno = static_library( c_args : [freedreno_c_args, c_vis_args], cpp_args : [freedreno_cpp_args, cpp_vis_args], dependencies : [ - dep_libdrm, - dep_valgrind, idep_nir_headers ], ) driver_freedreno = declare_dependency( compile_args : '-DGALLIUM_FREEDRENO', - link_with : [libfreedrenowinsys, libfreedreno], + link_with : [ + libfreedrenowinsys, + libfreedreno, + libfreedreno_drm, + ], dependencies : idep_nir, ) @@ -292,13 +280,12 @@ ir3_compiler = executable( 'ir3/ir3_cmdline.c', include_directories : freedreno_includes, dependencies : [ - dep_libdrm, - dep_valgrind, dep_thread, idep_nir, ], link_with : [ libfreedreno, + libfreedreno_drm, libgallium, libglsl_standalone, libmesa_util, |