[Mesa-dev] [PATCH 0/8] LLVM requirement for drivers using draw
Marek Olšák
maraeo at gmail.com
Thu Jan 26 18:54:15 UTC 2017
They still have to ship LLVM to have GCN support. Or do they simply not
ship radeonsi?
Marek
On Jan 26, 2017 7:30 PM, "Emil Velikov" <emil.l.velikov at gmail.com> wrote:
> Hi all,
>
> Here's a few small fixes/functionality improvements when dealing with
> LLVM.
>
> Most notably the series adds "LLVM" string [when applicable] to the
> .get_name()
> callback for drivers that use draw.
>
> Thus developer can respond accordingly - be that "rebuild with LLVM or
> enjoy the bad performance" or otherwise to reports.
>
> We can go a step further and make both(?) configure and the callback
> produce more nagging message along the lines of "built w/o LLVM expect bad
> performance", if people prefer.
>
> With this in mind we can drop the LLVM requirement, which some
> builders/distros explicitly patch out.
>
> Let's be nice to each other and not force it onto them.
>
> What do you guys think ?
> Emil
>
> Emil Velikov (8):
> virgl: remove unused draw_context.h include
> llvmpipe: use draw_get_option_use_llvm() instead of open coding it
> softpipe: set softpipe_screen::use_llvm when draw is build with LLVM
> softpipe: let .get_name() append LLVM if built with LLVM
> i915g: use draw_get_option_use_llvm() instead of open coding it
> i915g: let .get_name() append LLVM if built with LLVM
> r300: let .get_name() append LLVM if built with LLVM
> nouveau: let .get_name() append LLVM if built with LLVM
>
> src/gallium/drivers/i915/i915_screen.c | 9 +++++++--
> src/gallium/drivers/llvmpipe/lp_screen.c | 4 ++--
> src/gallium/drivers/nouveau/nouveau_screen.c | 7 ++++++-
> src/gallium/drivers/r300/r300_screen.c | 10 +++++++++-
> src/gallium/drivers/softpipe/sp_screen.c | 6 ++++++
> src/gallium/drivers/virgl/virgl_screen.c | 1 -
> 6 files changed, 30 insertions(+), 7 deletions(-)
>
> --
> 2.11.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170126/abca3e64/attachment.html>
More information about the mesa-dev
mailing list