History log of /netbsd-src/sys/external/bsd/drm2/linux/linux_idr.c (Results 1 – 14 of 14)
Revision Date Author Comments
# 51e5c539 19-Dec-2021 riastradh <riastradh@NetBSD.org>

linux/idr: Remove meaningless stray membar.


# f14e25d8 19-Dec-2021 riastradh <riastradh@NetBSD.org>

Teach idr_remove to accept failure.

But teach it to return the data if it succeeds too.


# 92c79c76 19-Dec-2021 riastradh <riastradh@NetBSD.org>

Define idr_init_base.

Nothing actually uses this at the moment, because callers already
specify the base. Not really sure what the point is!


# 71b0b921 27-Aug-2018 riastradh <riastradh@NetBSD.org>

sdt probe naming style.


# 077afc9a 27-Aug-2018 riastradh <riastradh@NetBSD.org>

Work around broken empty expansion of SDT_PROBE* if !KDTRACE_HOOKS.


# 5248a24c 27-Aug-2018 riastradh <riastradh@NetBSD.org>

sdt dtrace probes for linux idr.


# 4f49d672 27-Aug-2018 riastradh <riastradh@NetBSD.org>

Zero-initialize idr cache.


# 1d8bbc46 27-Aug-2018 riastradh <riastradh@NetBSD.org>

Draft rewrite of idr preload.

Previous idr code assumed every caller would definitely call
idr_preload, idr_alloc, idr_preload_end, but some callers skip
idr_alloc if an intermediate failure happens

Draft rewrite of idr preload.

Previous idr code assumed every caller would definitely call
idr_preload, idr_alloc, idr_preload_end, but some callers skip
idr_alloc if an intermediate failure happens first, and would
therefore leak idr nodes.

Use a per-lwp single-node cache instead, and print warnings about
leakers.

show more ...


# 77a04540 27-Aug-2018 riastradh <riastradh@NetBSD.org>

Add idr_get_next and idr_for_each_entry.


# 06a27a01 26-Jul-2017 riastradh <riastradh@NetBSD.org>

Tweak slightly sketchy logic in linux_idr.

1. idr_preload can fail if you don't set __GFP_WAIT.
2. If idr_preload fails, it is wrong for idr_alloc to assert.
3. There is no way for idr_alloc to know

Tweak slightly sketchy logic in linux_idr.

1. idr_preload can fail if you don't set __GFP_WAIT.
2. If idr_preload fails, it is wrong for idr_alloc to assert.
3. There is no way for idr_alloc to know what flags idr_preload got.

Probably won't *fix* any bugs, but if there is a bug with a missing
__GFP_WAIT, then we will learn about a trifle sooner.

show more ...


# 32b977d2 01-Jan-2015 mrg <mrg@NetBSD.org>

due to hangs seen by several folks, for now revert:
http://mail-index.netbsd.org/source-changes/2014/11/04/msg060120.html

Log Message:
This code should be MP-safe. Use IPL_SCHED in place of IPL_DRM/

due to hangs seen by several folks, for now revert:
http://mail-index.netbsd.org/source-changes/2014/11/04/msg060120.html

Log Message:
This code should be MP-safe. Use IPL_SCHED in place of IPL_DRM/IPL_VM and set
D_MPSAFE flag in cdevsw.

show more ...


# f91ea01d 04-Nov-2014 jmcneill <jmcneill@NetBSD.org>

This code should be MP-safe. Use IPL_SCHED in place of IPL_DRM/IPL_VM and set
D_MPSAFE flag in cdevsw.


# 77b5597a 16-Jul-2014 riastradh <riastradh@NetBSD.org>

Make it build and boot on my test machines.

Screen blanks on boot on the Ivy Bridge system with

DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun

But after that everything is OK

Make it build and boot on my test machines.

Screen blanks on boot on the Ivy Bridge system with

DRM error in cpt_serr_int_handler: PCH transcoder A FIFO underrun

But after that everything is OK. Appears to be an upstream problem.
To investigate...

I think there's a cache flushing issue somewhere -- there are little
display artefacts on my T60.

show more ...


# 6cb10275 18-Mar-2014 riastradh <riastradh@NetBSD.org>

Merge riastradh-drm2 to HEAD.