Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1541944

Re: Issue with DRM and "reimplement IDR and IDA using the radix tree"

From Alexandre Courbot <acourbot@nvidia.com>
Newsgroups linux.kernel
Subject Re: Issue with DRM and "reimplement IDR and IDA using the radix tree"
Date 2016-12-14 15:30 +0100
Message-ID <sOiJb-7xh-27@gated-at.bofh.it> (permalink)
References <sNPHb-6JH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Forgot to add the most relevant list for this issue (linux-next).

Stephen, maybe you will want to temporarily revert this patch until this
is cleared? This probably affects other users than DRM.

On 12/13/2016 04:14 PM, Alexandre Courbot wrote:
> Hi Matthew,
> 
> Trying the latest -next on the Jetson TK1 board (with two different DRM
> devices and display and render), I noticed that the GPU device probe
> always failed with error -ENOSPC. After investigating I figured out that
> this was due to the minor device allocation failing when a second DRM
> device is added.
> 
> More precisely, when drm_minor_alloc() is called with DRM_MINOR_PRIMARY
> (0) as argument for a second time, the call to idr_alloc() (which has a
> requested range of 0..64) fails instead of returning 1 as expected. Note
> that the first call is successful.
> 
> Reverting "reimplement IDR and IDA using the radix tree" on 20161213's
> next fixes the issue for me, suggesting a bug may have slipped in there.
> 
> Not sure how this could be fixed, so reporting the issue for now in case
> it is not known yet.
> 
> Cheers,
> Alex.
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
> 

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Issue with DRM and "reimplement IDR and IDA using the radix tree" Alexandre Courbot <acourbot@nvidia.com> - 2016-12-13 08:30 +0100
  Re: Issue with DRM and "reimplement IDR and IDA using the radix tree" Alexandre Courbot <acourbot@nvidia.com> - 2016-12-14 15:30 +0100
    Re: Issue with DRM and "reimplement IDR and IDA using the radix tree" Thierry Reding <thierry.reding@gmail.com> - 2016-12-16 17:20 +0100
      Re: Issue with DRM and "reimplement IDR and IDA using the radix tree" Alexandre Courbot <acourbot@nvidia.com> - 2016-12-17 08:10 +0100

csiph-web