[Mesa-dev] [PATCH 3/3] targets: Remove vc4 simulator hack.

Nicolai Hähnle nhaehnle at gmail.com
Mon Feb 6 11:42:09 UTC 2017


On 03.02.2017 20:13, Eric Anholt wrote:
> Now that there's MESA_LOADER_DRIVER_OVERRIDE for choosing the driver name
> we load, we don't need this any more.

I like the override flag, could come in handy.

For the series (including the additional hunk for patch #3):

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>


> ---
>  src/gallium/targets/dri/target.c | 10 ----------
>  1 file changed, 10 deletions(-)
>
> diff --git a/src/gallium/targets/dri/target.c b/src/gallium/targets/dri/target.c
> index df93c94ea832..d24a61d1563d 100644
> --- a/src/gallium/targets/dri/target.c
> +++ b/src/gallium/targets/dri/target.c
> @@ -73,16 +73,6 @@ DEFINE_LOADER_DRM_ENTRYPOINT(virtio_gpu)
>
>  #if defined(GALLIUM_VC4)
>  DEFINE_LOADER_DRM_ENTRYPOINT(vc4)
> -
> -#if defined(USE_VC4_SIMULATOR)
> -/**
> - * When building using the simulator (on x86), we advertise ourselves as the
> - * i965 driver so that you can just make a directory with a link from
> - * i965_dri.so to the built vc4_dri.so, and point LIBGL_DRIVERS_PATH to that
> - * on your i965-using host to run the driver under simulation.
> - */
> -DEFINE_LOADER_DRM_ENTRYPOINT(i965)
> -#endif
>  #endif
>
>  #if defined(GALLIUM_ETNAVIV)
>



More information about the mesa-dev mailing list