* Re: linux-next: manual merge of the char-misc tree with the drm-intel tree
@ 2021-11-05 1:51 ` Stephen Rothwell
0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2021-11-05 1:51 UTC (permalink / raw)
To: Greg KH, Arnd Bergmann, Daniel Vetter, Jani Nikula,
Joonas Lahtinen, Rodrigo Vivi, Intel Graphics, DRI
Cc: Greg Kroah-Hartman, Linux Next Mailing List,
Linux Kernel Mailing List, Matthew Auld
[-- Attachment #1: Type: text/plain, Size: 1697 bytes --]
Hi all,
On Thu, 28 Oct 2021 18:27:53 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the char-misc tree got a conflict in:
>
> drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
>
> between commit:
>
> 5740211ea442 ("drm/i915/dmabuf: fix broken build")
>
> from the drm-intel tree and commit:
>
> 16b0314aa746 ("dma-buf: move dma-buf symbols into the DMA_BUF module namespace")
>
> from the char-misc tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
>
> --
> Cheers,
> Stephen Rothwell
>
> diff --cc drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> index a45d0ec2c5b6,abb854281347..000000000000
> --- a/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> +++ b/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> @@@ -12,13 -13,8 +13,15 @@@
> #include "i915_gem_object.h"
> #include "i915_scatterlist.h"
>
> +#if defined(CONFIG_X86)
> +#include <asm/smp.h>
> +#else
> +#define wbinvd_on_all_cpus() \
> + pr_warn(DRIVER_NAME ": Missing cache flush in %s\n", __func__)
> +#endif
> +
> + MODULE_IMPORT_NS(DMA_BUF);
> +
> I915_SELFTEST_DECLARE(static bool force_different_devices;)
>
> static struct drm_i915_gem_object *dma_buf_to_obj(struct dma_buf *buf)
This is now a conflict between the drm-intel tree and Linux' tree.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: linux-next: manual merge of the char-misc tree with the drm-intel tree
@ 2021-11-05 1:51 ` Stephen Rothwell
0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2021-11-05 1:51 UTC (permalink / raw)
To: Greg KH, Arnd Bergmann, Daniel Vetter, Jani Nikula,
Joonas Lahtinen, Rodrigo Vivi, Intel Graphics, DRI
Cc: Greg Kroah-Hartman, Linux Kernel Mailing List,
Linux Next Mailing List, Matthew Auld
[-- Attachment #1: Type: text/plain, Size: 1697 bytes --]
Hi all,
On Thu, 28 Oct 2021 18:27:53 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the char-misc tree got a conflict in:
>
> drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
>
> between commit:
>
> 5740211ea442 ("drm/i915/dmabuf: fix broken build")
>
> from the drm-intel tree and commit:
>
> 16b0314aa746 ("dma-buf: move dma-buf symbols into the DMA_BUF module namespace")
>
> from the char-misc tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
>
> --
> Cheers,
> Stephen Rothwell
>
> diff --cc drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> index a45d0ec2c5b6,abb854281347..000000000000
> --- a/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> +++ b/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> @@@ -12,13 -13,8 +13,15 @@@
> #include "i915_gem_object.h"
> #include "i915_scatterlist.h"
>
> +#if defined(CONFIG_X86)
> +#include <asm/smp.h>
> +#else
> +#define wbinvd_on_all_cpus() \
> + pr_warn(DRIVER_NAME ": Missing cache flush in %s\n", __func__)
> +#endif
> +
> + MODULE_IMPORT_NS(DMA_BUF);
> +
> I915_SELFTEST_DECLARE(static bool force_different_devices;)
>
> static struct drm_i915_gem_object *dma_buf_to_obj(struct dma_buf *buf)
This is now a conflict between the drm-intel tree and Linux' tree.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [Intel-gfx] linux-next: manual merge of the char-misc tree with the drm-intel tree
2021-11-05 1:51 ` Stephen Rothwell
(?)
@ 2021-11-10 23:05 ` Stephen Rothwell
-1 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2021-11-10 23:05 UTC (permalink / raw)
To: Dave Airlie
Cc: Arnd Bergmann, Greg Kroah-Hartman, Greg KH, Intel Graphics,
Linux Kernel Mailing List, Daniel Vetter, Linux Next Mailing List,
DRI, Matthew Auld
[-- Attachment #1: Type: text/plain, Size: 1896 bytes --]
Hi all,
On Fri, 5 Nov 2021 12:51:22 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> On Thu, 28 Oct 2021 18:27:53 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > Today's linux-next merge of the char-misc tree got a conflict in:
> >
> > drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> >
> > between commit:
> >
> > 5740211ea442 ("drm/i915/dmabuf: fix broken build")
> >
> > from the drm-intel tree and commit:
> >
> > 16b0314aa746 ("dma-buf: move dma-buf symbols into the DMA_BUF module namespace")
> >
> > from the char-misc tree.
> >
> > I fixed it up (see below) and can carry the fix as necessary. This
> > is now fixed as far as linux-next is concerned, but any non trivial
> > conflicts should be mentioned to your upstream maintainer when your tree
> > is submitted for merging. You may also want to consider cooperating
> > with the maintainer of the conflicting tree to minimise any particularly
> > complex conflicts.
> >
> > diff --cc drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> > index a45d0ec2c5b6,abb854281347..000000000000
> > --- a/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> > +++ b/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> > @@@ -12,13 -13,8 +13,15 @@@
> > #include "i915_gem_object.h"
> > #include "i915_scatterlist.h"
> >
> > +#if defined(CONFIG_X86)
> > +#include <asm/smp.h>
> > +#else
> > +#define wbinvd_on_all_cpus() \
> > + pr_warn(DRIVER_NAME ": Missing cache flush in %s\n", __func__)
> > +#endif
> > +
> > + MODULE_IMPORT_NS(DMA_BUF);
> > +
> > I915_SELFTEST_DECLARE(static bool force_different_devices;)
> >
> > static struct drm_i915_gem_object *dma_buf_to_obj(struct dma_buf *buf)
>
> This is now a conflict between the drm-intel tree and Linux' tree.
This is now a conflict between the drm tree and Linus' tree.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: linux-next: manual merge of the char-misc tree with the drm-intel tree
@ 2021-11-10 23:05 ` Stephen Rothwell
0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2021-11-10 23:05 UTC (permalink / raw)
To: Dave Airlie
Cc: Arnd Bergmann, Greg Kroah-Hartman, Greg KH, Intel Graphics,
Linux Kernel Mailing List, Daniel Vetter, Linux Next Mailing List,
DRI, Rodrigo Vivi, Matthew Auld
[-- Attachment #1: Type: text/plain, Size: 1896 bytes --]
Hi all,
On Fri, 5 Nov 2021 12:51:22 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> On Thu, 28 Oct 2021 18:27:53 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > Today's linux-next merge of the char-misc tree got a conflict in:
> >
> > drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> >
> > between commit:
> >
> > 5740211ea442 ("drm/i915/dmabuf: fix broken build")
> >
> > from the drm-intel tree and commit:
> >
> > 16b0314aa746 ("dma-buf: move dma-buf symbols into the DMA_BUF module namespace")
> >
> > from the char-misc tree.
> >
> > I fixed it up (see below) and can carry the fix as necessary. This
> > is now fixed as far as linux-next is concerned, but any non trivial
> > conflicts should be mentioned to your upstream maintainer when your tree
> > is submitted for merging. You may also want to consider cooperating
> > with the maintainer of the conflicting tree to minimise any particularly
> > complex conflicts.
> >
> > diff --cc drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> > index a45d0ec2c5b6,abb854281347..000000000000
> > --- a/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> > +++ b/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> > @@@ -12,13 -13,8 +13,15 @@@
> > #include "i915_gem_object.h"
> > #include "i915_scatterlist.h"
> >
> > +#if defined(CONFIG_X86)
> > +#include <asm/smp.h>
> > +#else
> > +#define wbinvd_on_all_cpus() \
> > + pr_warn(DRIVER_NAME ": Missing cache flush in %s\n", __func__)
> > +#endif
> > +
> > + MODULE_IMPORT_NS(DMA_BUF);
> > +
> > I915_SELFTEST_DECLARE(static bool force_different_devices;)
> >
> > static struct drm_i915_gem_object *dma_buf_to_obj(struct dma_buf *buf)
>
> This is now a conflict between the drm-intel tree and Linux' tree.
This is now a conflict between the drm tree and Linus' tree.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: linux-next: manual merge of the char-misc tree with the drm-intel tree
@ 2021-11-10 23:05 ` Stephen Rothwell
0 siblings, 0 replies; 10+ messages in thread
From: Stephen Rothwell @ 2021-11-10 23:05 UTC (permalink / raw)
To: Dave Airlie
Cc: Greg KH, Arnd Bergmann, Daniel Vetter, Jani Nikula,
Joonas Lahtinen, Rodrigo Vivi, Intel Graphics, DRI,
Greg Kroah-Hartman, Linux Kernel Mailing List,
Linux Next Mailing List, Matthew Auld
[-- Attachment #1: Type: text/plain, Size: 1896 bytes --]
Hi all,
On Fri, 5 Nov 2021 12:51:22 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> On Thu, 28 Oct 2021 18:27:53 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > Today's linux-next merge of the char-misc tree got a conflict in:
> >
> > drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> >
> > between commit:
> >
> > 5740211ea442 ("drm/i915/dmabuf: fix broken build")
> >
> > from the drm-intel tree and commit:
> >
> > 16b0314aa746 ("dma-buf: move dma-buf symbols into the DMA_BUF module namespace")
> >
> > from the char-misc tree.
> >
> > I fixed it up (see below) and can carry the fix as necessary. This
> > is now fixed as far as linux-next is concerned, but any non trivial
> > conflicts should be mentioned to your upstream maintainer when your tree
> > is submitted for merging. You may also want to consider cooperating
> > with the maintainer of the conflicting tree to minimise any particularly
> > complex conflicts.
> >
> > diff --cc drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> > index a45d0ec2c5b6,abb854281347..000000000000
> > --- a/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> > +++ b/drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c
> > @@@ -12,13 -13,8 +13,15 @@@
> > #include "i915_gem_object.h"
> > #include "i915_scatterlist.h"
> >
> > +#if defined(CONFIG_X86)
> > +#include <asm/smp.h>
> > +#else
> > +#define wbinvd_on_all_cpus() \
> > + pr_warn(DRIVER_NAME ": Missing cache flush in %s\n", __func__)
> > +#endif
> > +
> > + MODULE_IMPORT_NS(DMA_BUF);
> > +
> > I915_SELFTEST_DECLARE(static bool force_different_devices;)
> >
> > static struct drm_i915_gem_object *dma_buf_to_obj(struct dma_buf *buf)
>
> This is now a conflict between the drm-intel tree and Linux' tree.
This is now a conflict between the drm tree and Linus' tree.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread