[PATCH] drm/nouveau/ttm: Add limits.h

Maxime Ripard maxime at cerno.tech
Mon Nov 2 11:18:53 UTC 2020


On Mon, Nov 02, 2020 at 12:08:06PM +0100, Maxime Ripard wrote:
> It seems that a recent commit broke the nouveau compilation when swiotlb is
> disabled (which is the case on our ARM defconfig for example).
> 
> Daniel says
> 
> """
> Since the proper fix is maybe stuck in the usual "drm abuses swiotlb
> internals" bikeshed, maybe best if we push a fix to including limits.h
> in nouveau and call it done?
> """
> 
> So let's go down the simplest path to fix our build, and goes back to it
> later if needed.
> 
> Link: https://patchwork.freedesktop.org/patch/397835/
> Fixes: 4dbafbd30aef ("drm/nouveu: fix swiotlb include")
> Acked-by: Daniel Vetter <daniel at ffwll.ch>
> Signed-off-by: Maxime Ripard <maxime at cerno.tech>

Note that I misunderstood what Daniel was saying on IRC and ended up
pushing that patch in drm-misc-next. We can revert it if needed.

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20201102/c4b34fb1/attachment-0001.sig>


More information about the dri-devel mailing list