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


Groups > linux.kernel > #1540870

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

From Alexandre Courbot <acourbot@nvidia.com>
Newsgroups linux.kernel
Subject Issue with DRM and "reimplement IDR and IDA using the radix tree"
Date 2016-12-13 08:30 +0100
Message-ID <sNPHb-6JH-1@gated-at.bofh.it> (permalink)
Organization NVIDIA

Show all headers | View raw


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.

Back to linux.kernel | Previous | Next — 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