r6749 - /packages/nvidia-graphics-drivers/branches/367/debian/module/debian/patches/arm-outer-sync.patch
Luca Boccassi
luca.boccassi at gmail.com
Wed Jul 20 20:12:43 UTC 2016
On Wed, 2016-07-20 at 00:44 +0100, Luca Boccassi wrote:
> On 20 July 2016 at 00:42, Luca Boccassi <luca.boccassi at gmail.com> wrote:
> > On 20 July 2016 at 00:40, Andreas Beckmann <anbe at debian.org> wrote:
> >> On 2016-07-20 01:38, luca.boccassi-guest at users.alioth.debian.org wrote:
> >>> Log:
> >>> Update arm-outer-sync.patch to fix WRITE_COMBINE_FLUSH in nvidia-drm/nvidia-drm-linux.c too.
> >>> Fixes armhf kernel module build failure in 4.4+.
> >>>
> >>> Modified:
> >>> packages/nvidia-graphics-drivers/branches/367/debian/module/debian/patches/arm-outer-sync.patch
> >>
> >> Should that be fixed in 364, too, which introduced the -drm module?
> >>
> >>
> >> Andreas
> >
> > Possibly yes but haven't checked yet, will do so tomorrow evening and
> > test it and commit it if necessary.
> >
> > Kind regards,
> > Luca Boccassi
>
> On the other hand the breakage is new in 367.35, didn't happen in
> 367.18 and doesn't happen in 364.19, so actually probably not as it
> might be new code.
>
> Kind regards,
> Luca Boccassi
Indeed it is new code, the re-definition in nvidia-drm-linux.c is not in
364.19:
luca at luca-desktop:/tmp/nvidia-graphics-drivers-364.19.orig/NVIDIA-Linux-armv7l-gnueabihf-364.19/kernel$ grep -r WRITE_COMBINE_FLUSH
common/inc/nv-linux.h:#define WRITE_COMBINE_FLUSH() asm volatile("sfence":::"memory")
common/inc/nv-linux.h:#define WRITE_COMBINE_FLUSH() { dsb(); outer_sync(); }
common/inc/nv-linux.h:#define WRITE_COMBINE_FLUSH() mb()
common/inc/nv-linux.h:#define WRITE_COMBINE_FLUSH() asm volatile("sync":::"memory")
nvidia/os-interface.c: WRITE_COMBINE_FLUSH();
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20160720/4a6bde17/attachment.sig>
More information about the pkg-nvidia-devel
mailing list