[Mesa-maintainers] Downstream Mesa patches and quirks

Michal Srb msrb at suse.com
Fri Feb 23 09:02:41 UTC 2018


On úterý 20. února 2018 15:58:26 CET Emil Velikov wrote:
> > - n_Disable-AMDGPU-GFX9-Vega-on-LLVM-lessthan-6.0.0.patch
> > 
> >   * Disable AMDGPU GFX9/Vega with LLVM < 6.0.0.
> >   
> >     While it is supported since LLVM 5.0.0, it was not working
> >     correctly (bnc#1075901). Since we do not have the resources to
> >     determine which fixes should be backported and LLVM 6 will be
> >     released relatively soon, disable the support until then. Users
> >     with the card will have working desktop using software
> >     rendering just like they did with LLVM 4.
> >  
> >  https://build.opensuse.org/package/view_file/X11:XOrg/Mesa/n_Disable-AMDG
> >  PU-GFX9-Vega-on-LLVM-lessthan-6.0.0.patch?expand=1
> >  https://bugzilla.suse.com/show_bug.cgi?id=1075901
> >  
> >  Not sure, whether this change would be appreciated upstream in git.
> >  Michal?
> 
> Simple steps:
>  - fd.o report already mentions LLVM patches needed
>  - update LLVM package adding ^^, check with user that things works as
> expected

That would be ideal, but I am not aware of a fd.o bug for this issue.

The reporter of https://bugzilla.suse.com/show_bug.cgi?id=1075901 linked the 
https://bugs.freedesktop.org/show_bug.cgi?id=104192 bug because he thought it 
is the same one, but it turned out that it is not. The fd.o bug happens with 
LLVM 6.0.0 and was solved by reverting multiple patches, but the suse bug 
happens with LLVM 5.0.1 and those patches are not even there yet. So there is 
nothing to revert/backport.

Since it works in newest LLVM, I did not open upstream bug. But there were 
many fixes in amdgpu between LLVM 5 and 6, so without hardware to figure out 
which to backport, we decided to wait for LLVM 6.

If you know about another fd.o bug that could be the issue, please let me 
know.

Michal


More information about the Mesa-maintainers mailing list