Martin Peres
2015-May-21 18:23 UTC
[Nouveau] [PATCH v2] nouveau: add coherent BO attribute
On 21/05/2015 11:47, Ben Skeggs wrote:> On 21 May 2015 at 16:08, Alexandre Courbot <acourbot at nvidia.com> wrote: >> Add a flag allowing Nouveau to specify that an object should be coherent >> at allocation time. This is required for some class of objects like >> fences which are randomly-accessed by both the CPU and GPU. This flag >> instructs the kernel driver to make sure the object remains coherent >> even on architectures for which coherency is not guaranteed by the bus. >> >> Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> > Reviewed-by: Ben Skeggs <bskeggs at redhat.com>Pushed!
Alexandre Courbot
2015-May-23 06:45 UTC
[Nouveau] [PATCH v2] nouveau: add coherent BO attribute
On Fri, May 22, 2015 at 3:23 AM, Martin Peres <martin.peres at free.fr> wrote:> On 21/05/2015 11:47, Ben Skeggs wrote: >> >> On 21 May 2015 at 16:08, Alexandre Courbot <acourbot at nvidia.com> wrote: >>> >>> Add a flag allowing Nouveau to specify that an object should be coherent >>> at allocation time. This is required for some class of objects like >>> fences which are randomly-accessed by both the CPU and GPU. This flag >>> instructs the kernel driver to make sure the object remains coherent >>> even on architectures for which coherency is not guaranteed by the bus. >>> >>> Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> >> >> Reviewed-by: Ben Skeggs <bskeggs at redhat.com> > > > Pushed!Thanks! Should we also bump the ABI version or something?
Maarten Lankhorst
2015-May-24 06:26 UTC
[Nouveau] [PATCH v2] nouveau: add coherent BO attribute
Op 23-05-15 om 08:45 schreef Alexandre Courbot:> On Fri, May 22, 2015 at 3:23 AM, Martin Peres <martin.peres at free.fr> wrote: >> On 21/05/2015 11:47, Ben Skeggs wrote: >>> On 21 May 2015 at 16:08, Alexandre Courbot <acourbot at nvidia.com> wrote: >>>> Add a flag allowing Nouveau to specify that an object should be coherent >>>> at allocation time. This is required for some class of objects like >>>> fences which are randomly-accessed by both the CPU and GPU. This flag >>>> instructs the kernel driver to make sure the object remains coherent >>>> even on architectures for which coherency is not guaranteed by the bus. >>>> >>>> Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> >>> Reviewed-by: Ben Skeggs <bskeggs at redhat.com> >> >> Pushed! > Thanks! Should we also bump the ABI version or something?If you mean changing libdrm_nouveau.so.2 to .so.3 no! If you mean having something that pkg-config can pick up that's done automatically on every drm release. ~Maarten