mesa/src/freedreno/drm-shim
Dylan Baker a8e2d79e02 meson: use gnu_symbol_visibility argument
This uses a meson builtin to handle -fvisibility=hidden. This is nice
because we don't need to track which languages are used, if C++ is
suddenly added meson just does the right thing.

Acked-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
2020-06-01 18:59:18 +00:00
..
freedreno_noop.c drm-shim: Let the driver choose to overwrite the first render node. 2020-04-23 17:54:54 +00:00
meson.build meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
README.md freedreno/drm-shim: Add support for faking other adreno chips. 2020-04-21 15:47:39 +00:00

freedreno_noop backend

This implements the minimum of msm in order to make shader-db work. The submit ioctl is stubbed out to not execute anything.

Export MESA_LOADER_DRIVER_OVERRIDE=msm LD_PRELOAD=$prefix/lib/libfreedreno_noop_drm_shim.so.

By default, a630 is exposed. The chip can be selected an enviornment variable like `FD_GPU_ID=307"