git: 11d62b6f31ab - main - linuxkpi: add kernel_fpu_begin/kernel_fpu_end

Emmanuel Vadot manu at bidouilliste.com
Wed Jan 13 10:08:40 UTC 2021


On Tue, 12 Jan 2021 15:16:55 +0200
Konstantin Belousov <kostikbel at gmail.com> wrote:

> On Tue, Jan 12, 2021 at 11:43:00AM +0000, Emmanuel Vadot wrote:
> > The branch main has been updated by manu:
> > 
> > URL: https://cgit.FreeBSD.org/src/commit/?id=11d62b6f31ab4e99df6d0c6c23406b57eaa37f41
> > 
> > commit 11d62b6f31ab4e99df6d0c6c23406b57eaa37f41
> > Author:     Emmanuel Vadot <manu at FreeBSD.org>
> > AuthorDate: 2021-01-12 11:02:38 +0000
> > Commit:     Emmanuel Vadot <manu at FreeBSD.org>
> > CommitDate: 2021-01-12 11:31:00 +0000
> > 
> >     linuxkpi: add kernel_fpu_begin/kernel_fpu_end
> >     
> >     With newer AMD GPUs (>=Navi,Renoir) there is FPU context usage in the
> >     amdgpu driver.
> >     The `kernel_fpu_begin/end` implementations in drm did not even allow nested
> >     begin-end blocks.
> 
> Does Linux allow more then one thread to execute kernel_fpu_begin ?

 I actually have no idea, adding Greg to cc.

-- 
Emmanuel Vadot <manu at bidouilliste.com>


More information about the dev-commits-src-all mailing list