409b76511c
We actually want to use util_vma to handle this. But fortunately core drm-shim alredy does this for mem offset, we can just delete a bunch of code and re-use that. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16250> |
||
---|---|---|
.. | ||
README.md | ||
freedreno_noop.c | ||
meson.build |
README.md
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"