Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (8h)  netbsd-10 (6d)  netbsd-9 (6d)  netbsd-8 (11d) 

2024-05-23 02:20:13 UTC Now

2014-05-14 16:16:55 UTC MAIN commitmail json YAML

Fix typo in uvm_km(9): there is no struct vm_map_kernel.

(riastradh)

2014-05-14 15:58:24 UTC MAIN commitmail json YAML

Tweak i915 gen6_gtt_init calculations for clarity.

(riastradh)

2014-05-14 13:59:19 UTC MAIN commitmail json YAML

Reject 32-bit paddrs on 965.

XXX Doing the check here is wrong; it serves only to report an
earlier problem, which is that there's on way to express constraints
on paddrs to uvm_obj_wirepages.  bus_dmamem_alloc can do this, but it
gives us pages out of thin air, not pages backing a uvm object.  I
was hoping this wouldn't manifest as a real problem, but evidently it
does.

(riastradh)

2014-05-14 13:53:41 UTC MAIN commitmail json YAML

Fix >40-bit paddr error branch in i915_gem_object_get_pages_gtt.

(riastradh)

2014-05-14 04:38:49 UTC MAIN commitmail json YAML

Fix error branch in drm_limit_dma_space.

(riastradh)

2014-05-02 14:36:10 UTC MAIN commitmail json YAML

Cast from uint32_t to bus_addr_t earlier, since it may exceed 32 bits.

(riastradh)

2014-05-01 15:19:16 UTC MAIN commitmail json YAML

Tweak some DRM GEM page indexing crap.

- Fix order of subtraction in drm_mmap_paddr_locked.
- Address GEM objects' pages from 0, not from the mmap cookie.
- Check page alignment earlier in mmap code paths.
- Sprinkle kasserts throughout.

Still doesn't fix the garbage that is sometimes being scribbled all
over kernel memory!

(riastradh)

2014-05-01 14:37:36 UTC MAIN commitmail json YAML

Clear only the requested range in gen6_ggtt_clear_range.

Sprinkle kasserts throughout i915_gem_gtt.c.

(riastradh)

2014-04-26 20:26:26 UTC MAIN commitmail json YAML

2014-04-26 14:55:43 UTC MAIN commitmail json YAML

Replace cpu_relax() by DELAY(1) or DELAY(1000) to wait us/ms.

(riastradh)

2014-04-25 23:54:59 UTC MAIN commitmail json YAML

2014-04-25 19:07:55 UTC MAIN commitmail json YAML

Fix hot-plug with small patch from upstream before a full update.

(riastradh)

2014-04-25 19:02:51 UTC MAIN commitmail json YAML

Take the console only from vga or generic genfb.

Adapted from a patch by nonaka@ in PR 48705.

While here, attach i915 genfb earlier as in PR 48706.

(riastradh)

2014-04-25 18:38:54 UTC MAIN commitmail json YAML

Adapt Linux i915 wait_for to use DELAY so it works while cold.

Adapted from a patch by nonaka@ in PR 48706.

(riastradh)

2014-04-25 18:25:52 UTC MAIN commitmail json YAML

2014-04-25 18:10:21 UTC MAIN commitmail json YAML

Reassign copyright to TNF.

(riastradh)

2014-04-25 18:07:29 UTC MAIN commitmail json YAML

Fix include order.

(riastradh)

2014-04-25 18:04:45 UTC MAIN commitmail json YAML

Correct type of i in execve_dovmcmds.  Fixes DEBUG_EXEC build.

(riastradh)

2014-04-23 21:53:53 UTC MAIN commitmail json YAML

matt@ did the real work for the Beaglebone, so credit him properly.

My memory misled me when I added this entry the other day.

(riastradh)

2014-04-23 21:34:17 UTC MAIN commitmail json YAML

Avoiding arithmetic on void * need not be NetBSD-specific.

(riastradh)

2014-04-21 18:26:51 UTC MAIN commitmail json YAML

Note my paltry contributions.

(riastradh)

2014-04-21 15:52:27 UTC MAIN commitmail json YAML

Fix note on __predict_true: predicts nonzero, not 1 specifically.

(riastradh)

2014-04-09 22:44:15 UTC MAIN commitmail json YAML

Take vp->v_interlock before vdead_check in lfs_bmapv.

XXX This code is a pile of bodge that needs a serious rototill anyway.

(riastradh)

2014-04-09 22:41:38 UTC MAIN commitmail json YAML

2014-04-09 22:40:33 UTC MAIN commitmail json YAML

Try vflush, which may fail, before we mark the file system mounted.

(riastradh)

2014-04-08 22:04:16 UTC MAIN commitmail json YAML

Remove FFS_NO_SNAPSHOT from x86/ALL so we do compile the snapshot code.

(riastradh)

2014-04-08 21:51:11 UTC MAIN commitmail json YAML

Add COMPAT_NETBSD32 and COMPAT_LINUX32 to amd64/ALL.

(riastradh)

2014-04-08 21:08:36 UTC MAIN commitmail json YAML

Enable options VND_COMPRESSION in amd64/GENERIC.

(riastradh)

2014-04-07 11:55:29 UTC MAIN commitmail json YAML

2014-04-06 16:42:00 UTC MAIN commitmail json YAML

Restore is_console=1 for i915, even if I keep it off for debugging.

(riastradh)

2014-04-06 16:38:34 UTC MAIN commitmail json YAML

Add missing declaration from last commit.

(riastradh)

2014-04-04 16:02:34 UTC MAIN commitmail json YAML

Tweak i915 framebuffer attachment in preparation for detach/reconfig.

Can't do this yet because genfb can't detach or reconfigure...

(riastradh)

2014-04-04 15:16:59 UTC MAIN commitmail json YAML

Figure drm_debug into the drm_init module kludgerosity.

(riastradh)

2014-04-04 15:16:29 UTC MAIN commitmail json YAML

Don't ifdef out unmapping of the GTT on NetBSD.

(riastradh)

2014-04-04 12:31:47 UTC MAIN commitmail json YAML

Back out unintended part of last commit.

(riastradh)

2014-04-04 12:30:12 UTC MAIN commitmail json YAML

2014-04-03 19:18:51 UTC MAIN commitmail json YAML

Copy NO_DRM and DRMKMS kernels for i386.

(riastradh)

2014-04-03 19:18:29 UTC MAIN commitmail json YAML

2014-04-03 18:29:11 UTC MAIN commitmail json YAML

Elide broken exists tests for TOOL_CTFCONVERT and TOOL_CTFMERGE.

Either you set MKCTF=yes and they should exist, or you set MKCTF=no
and it doesn't matter.  If MKCTF=yes and they don't exist, something
is broken, and this should fail noisily, not silently.

(riastradh)

2014-04-03 18:27:37 UTC MAIN commitmail json YAML

By default define CTFCONVERT and CTFMERGE to be no-ops in sys.mk.

Don't test for /usr/bin/ctfconvert or /usr/bin/ctfmerge -- that is
completely bonkers and breaks the build if the host's ctfconvert and
ctfmerge are too old.

Strip the broken conditionals in the .c.o &c. rules.

bsd.own.mk will override CTFCONVERT and CTFMERGE with TOOL_CTFCONVERT
and TOOL_CTFMERGE if MKCTF=yes.

XXX The way CTFCONVERT and CTFMERGE are integrated into the rules is
bogus -- it is not safe to interrupt them.  We need some intermediate
object to do this right.

Please let me know if I broke anything with this -- I am not an elvin
or dwarven wizard, nor a dtrace expert.  But this has been breaking
builds for ages now and nobody else seems to want to do anything
about it.

(riastradh)

2014-04-03 18:23:38 UTC MAIN commitmail json YAML

ctfconvert/ctfmerge need libdwarf &c., so build them if MKCTF=yes.

(riastradh)

2014-04-03 18:17:52 UTC MAIN commitmail json YAML

Skip SNA on i386 for now, since it triggers a GCC ICE.

(riastradh)

2014-04-03 15:39:10 UTC MAIN commitmail json YAML

Correct return type of iic_release_bus.

(riastradh)

2014-04-03 15:16:42 UTC MAIN commitmail json YAML

2014-04-03 15:16:18 UTC MAIN commitmail json YAML

Need <sys/reboot.h> for AB_DEBUG.

(riastradh)

2014-04-03 14:55:53 UTC MAIN commitmail json YAML

Nix accidental whitespace to reduce diff from Linux.

(riastradh)

2014-04-03 14:45:44 UTC MAIN commitmail json YAML

Make i915drmkms grab the console by default.

(riastradh)

2014-04-03 14:15:05 UTC MAIN commitmail json YAML

2014-04-03 05:48:02 UTC MAIN commitmail json YAML

Fix up removal of _DRM_SHM mappings and the hardware lock.

(riastradh)

2014-04-03 03:59:19 UTC MAIN commitmail json YAML

Use drmMap rather than mmap directly, to invoke the ioctl on NetBSD.

(riastradh)

2014-04-03 02:51:20 UTC MAIN commitmail json YAML

2014-04-03 02:50:30 UTC MAIN commitmail json YAML

2014-04-03 02:40:45 UTC MAIN commitmail json YAML

Link Xorg with -lpthread on x86.

This will be needed by the new xf86-video-intel, which uses pthreads
in SNA (SandyBridge New Acceleration).  It shouldn't hurt, but is not
needed, on any other architecture.

(riastradh)

2014-04-02 01:22:11 UTC MAIN commitmail json YAML

2014-04-01 17:52:26 UTC MAIN commitmail json YAML

Remove vestigial modules/apple_smc/apple_smc.ioconf.

(riastradh)

2014-04-01 17:49:40 UTC MAIN commitmail json YAML

Fix unused variable warning in non-modular apple_smc build.

(riastradh)

2014-04-01 17:49:30 UTC MAIN commitmail json YAML

Fix apple_smc config in conf/files.

(riastradh)

2014-04-01 17:49:17 UTC MAIN commitmail json YAML

Fix copypasta error in apple_smc_write_key_4: uint32_t, not uint16_t.

(riastradh)

2014-04-01 17:49:05 UTC MAIN commitmail json YAML

2014-04-01 17:48:52 UTC MAIN commitmail json YAML

Rework Apple SMC device attachment goo again.

Less bookkeeping at the expense of iteration over all devices when
rescanning applesmc.

(riastradh)

2014-04-01 17:48:39 UTC MAIN commitmail json YAML

Rework Apple SMC attachment goo and split into multiple modules.

The four modules are apple_smc for the core functions, apple_smc_acpi
for attachment at acpi, and apple_smc_fan & apple_smc_temp for stuff
on the SMC.

Seems like there's a lot more bookkeeping necessary to maintain
children of an applesmc device implemented by loadable modules.
Maybe there's a better way I just haven't figured out yet.

(riastradh)

2014-04-01 17:47:36 UTC MAIN commitmail json YAML

First draft of drivers for the Apple System Management Controller.

Device interface derived by reading the Linux driver source code and
<http:///www.parhelia.ch/blog/statics/k3_keys.html> as of 2012-12-05.

Includes support for attaching fan and temperature sensors to sysmon.
No accelerometer yet.

Compile-tested only, based on some run-testing of experiments from
userland.  Module attachment is not quite finished, so it won't work
yet.

(riastradh)

2014-04-01 15:28:52 UTC MAIN commitmail json YAML

Fix volatile qualifiers in drm2 <linux/atomic.h>.

(riastradh)

2014-04-01 15:19:37 UTC MAIN commitmail json YAML

Explicitly kassert the precondition c_done != 0 in _completion_claim.

(riastradh)

2014-04-01 15:12:38 UTC MAIN commitmail json YAML

2014-04-01 15:10:23 UTC MAIN commitmail json YAML

kernel.h and list.h have already been moved to external/bsd/common.

With apologies to future revision control systems for not making it
clear this is effectively a rename.

(riastradh)

2014-04-01 15:08:58 UTC MAIN commitmail json YAML

2014-04-01 14:57:58 UTC MAIN commitmail json YAML

Merge changes from drm2 <linux/kernel.h> to common <linux/kernel.h>.

(riastradh)

2014-04-01 14:55:20 UTC MAIN commitmail json YAML

Add some more Linux completion operations.

Adapted from a patch by nick@.

(riastradh)

2014-03-31 13:38:44 UTC MAIN commitmail json YAML

2014-03-28 23:22:27 UTC MAIN commitmail json YAML

Don't leak KVA by forgetting to call uvm_km_free...oops!

From rmind@.

(riastradh)

2014-03-28 23:19:41 UTC MAIN commitmail json YAML

Remove needless splvm/splx calls.

From rmind@, who explained that the pmap(9) man page is wrong.

(riastradh)

2014-03-23 20:20:38 UTC MAIN commitmail json YAML

Simplify synchronization between umcs(4) intr and task.

ok martin@, nick@

(riastradh)

2014-03-22 04:17:26 UTC MAIN commitmail json YAML

Constify list_is_empty.

With apologies to whoever will merge a newer version.  Fortunately,
this file is getting replaced wholesale.

(riastradh)

2014-03-22 02:20:29 UTC MAIN commitmail json YAML

Use DRM_IOCTL_MODE_GETRESOURCES to detect KMS on any non-Linux.

(riastradh)

2014-03-22 02:15:00 UTC MAIN commitmail json YAML

Use #ifdef DRM_IOCTL_MMAP, not #ifdef __NetBSD__.

Initialize with `= {0}' rather than a temporary static constant
variable.

Requested by christos@.

(riastradh)

2014-03-21 18:14:20 UTC MAIN commitmail json YAML

Build xf86drmMode.c into libdrm.

(riastradh)

2014-03-21 18:11:21 UTC MAIN commitmail json YAML

Switch intel_bufmgr_gem to use drmMap instead of mmap directly.

(riastradh)

2014-03-21 18:10:27 UTC MAIN commitmail json YAML

Use ioctl, not sysfs, to detect KMS support on NetBSD.

(riastradh)

2014-03-21 18:09:50 UTC MAIN commitmail json YAML

2014-03-21 02:25:05 UTC MAIN commitmail json YAML

Make uninitialized_var kludge expand to `x = 0'.

Forgot to commit this the other day.

(riastradh)

2014-03-20 15:20:44 UTC MAIN commitmail json YAML

Update libfreetype debug data version.  Hi mrg!

(riastradh)

2014-03-20 14:39:43 UTC MAIN commitmail json YAML

Don't choke on an assertion for an RSDT with a null address entry.

(riastradh)

2014-03-20 13:40:02 UTC MAIN commitmail json YAML

Don't unmap Rsdp until we've finished using it.

XXX Let me know how this is supposed to be upstreamed if you know and
have time...

(riastradh)

2014-03-19 18:21:39 UTC MAIN commitmail json YAML

Clarify some wording in getaddrinfo.1.

(riastradh)

2014-03-19 18:04:32 UTC MAIN commitmail json YAML

Fix uninitialized variable wait in intel_ddi_prepare_link_retrain.

Move a line around, too, to avoid merge conflicts with upstream.

Noted by maxv@.

(riastradh)

2014-03-18 21:36:52 UTC MAIN commitmail json YAML

2014-03-18 18:20:48 UTC MAIN commitmail json YAML

2014-03-18 14:28:37 UTC MAIN commitmail json YAML

Avoid undefined behaviour in shifts in endian decoding routines.

If int is 32-bit and p is a uint8_t *, then p[0] is promoted to int
and p[0] << 24 can shift a one into the sign bit of an int, which is
nasal demon territory.

(riastradh)

2014-03-15 15:22:37 UTC MAIN commitmail json YAML

Convert right-recursive rules to left-recursive ones.

This should obviate the need for the workaround of a large stack in
order to handle many rules.

No change in the resulting plists.

ok rmind

(riastradh)

2014-03-09 16:19:14 UTC MAIN commitmail json YAML

Fix subword atomic_cas.

- Don't loop forever on failure.
- Don't shift away the result and return zero on success.

Evidently we lack automatic tests for these!

(riastradh)

2014-03-07 15:39:18 UTC riastradh-drm2 commitmail json YAML

Fix return value of wait_for_completion_interruptible_timeout.

(riastradh)

2014-03-07 15:39:08 UTC riastradh-drm2 commitmail json YAML

Make gem mmappings shared, not copy-on-write, like Linux.

(riastradh)

2014-03-06 15:00:21 UTC MAIN commitmail json YAML

`Controller' takes two l's.

(riastradh)

2014-03-06 00:32:39 UTC riastradh-drm2 commitmail json YAML

Take the vmobjlock in i915_gem_release_mmap around pmap_page_protect.

(riastradh)

2014-03-05 22:18:27 UTC riastradh-drm2 commitmail json YAML

Fix up i915_gem_gtt for agp-style gen<6 devices.

- Set the DMA mask correctly: gen<4 needs 32-bit; gen4+, 36-bit.
- Use agp_i810_write_gtt_entry, not AGP_BIND_PAGE.
- Do a posting read after changing all the GTT entries.

(riastradh)

2014-03-05 22:18:19 UTC riastradh-drm2 commitmail json YAML

Expose agp_i810_write_gtt_entry for drm2.

Also add an agp_i810_post_gtt_entry to do a posting read for that GTT
entry.

(riastradh)

2014-03-05 22:18:10 UTC riastradh-drm2 commitmail json YAML

2014-03-05 22:17:59 UTC riastradh-drm2 commitmail json YAML

Kludgey attempt to fill in intel_gtt stubs.

(riastradh)

2014-03-05 15:08:00 UTC riastradh-drm2 commitmail json YAML

Oops -- define struct intel_gtt::do_idle_maps.

Missed this in last commit.

(riastradh)

2014-03-05 14:45:00 UTC riastradh-drm2 commitmail json YAML

First draft of i915_gem_gtt.c for pre-Sandy Bridge (gen<6) devices.

These go through the legacy AGP cruft to get at the GTT.

(riastradh)

2014-03-05 14:42:41 UTC riastradh-drm2 commitmail json YAML

Expose the agp_i810 softc.

This is an Intel-specific kludge so that i915drmkms can get at the
GTT, graphics translation table, for pre-Sandy Bridge Intel graphics
devices.

(riastradh)

2014-03-05 14:42:27 UTC riastradh-drm2 commitmail json YAML

2014-03-04 20:46:14 UTC riastradh-drm2 commitmail json YAML

2014-03-04 20:45:17 UTC riastradh-drm2 commitmail json YAML

Rework drm2 configuration and modularization.

- Split drm2.kmod into drmkms_linux, drmkms, drmkms_pci.
- Split up drmkms-related files.* similarly.
- Make drm_agp_* routines hooks that the drmkms_pci module installs.
- Reuse drm device major 180 for (old) drm and drmkms.

Now old drm and new drmkms can coexist happily in the same tree, with
or without PCI, and require no changes to userland.

(riastradh)

2014-03-01 14:15:15 UTC MAIN commitmail json YAML

Kick on-demand entropy sources in rndsinks_distribute.

Partial workaround for indefinite hangs when entropy is scarce or
buffered up.  We need to do more to handle entropy that has been
buffered up -- see the comment for details -- but this will help for
now.

Problem noted by pooka.

(riastradh)

2014-02-25 23:15:43 UTC MAIN commitmail json YAML

Fix bits/bytes mixup in rnd_getmore.

Remove some needless casts and fix format directives while here.

Bit/byte mixup noticed by pooka.

(riastradh)

2014-02-06 03:47:16 UTC MAIN commitmail json YAML

__HAVE_ATOMIC_AS_MEMBAR is spelled with two leading underscores.

This underscores the need to replace this error-prone cpp API by
unconditionally defined {pre,post}atomic_membar_*.

This change should only remove unnecessary membar_producers on x86.

(riastradh)

2014-01-30 17:18:51 UTC riastradh-drm2 commitmail json YAML

Make wsdisplay_vcons likelier to be modularizable too.

(riastradh)

2014-01-30 17:18:15 UTC riastradh-drm2 commitmail json YAML

2014-01-30 16:49:33 UTC riastradh-drm2 commitmail json YAML

2014-01-29 19:52:12 UTC riastradh-drm2 commitmail json YAML

Make genfb a little friendlier to modules.

This is not enough to make it actually work as a module itself, but
it's enough to make the i915drm module use genfb.

(riastradh)

2014-01-29 19:48:45 UTC riastradh-drm2 commitmail json YAML

Make genfb replay the msgbuf only if it's becoming the console.

(riastradh)

2014-01-29 19:48:29 UTC riastradh-drm2 commitmail json YAML

Make genfb_attach configure the wsemuldisplaydev attribute.

(riastradh)

2014-01-29 19:48:14 UTC riastradh-drm2 commitmail json YAML

Make i915drm_match return 6 to beat genfb_pci no matter what.

(riastradh)

2014-01-29 19:47:54 UTC riastradh-drm2 commitmail json YAML

Give drmkms its own device major so it doesn't compete with old drm.

(riastradh)

2014-01-29 19:47:38 UTC riastradh-drm2 commitmail json YAML

2014-01-29 19:47:09 UTC riastradh-drm2 commitmail json YAML

Defer i915drm_attach_framebuffer until interrupts are running.

The i915 code initialization relies on counting hardclock ticks for a
delay (ugh).

Not an issue for modules, but it will matter when we build drm2 into
the kernel proper.

(riastradh)

2014-01-29 19:46:51 UTC riastradh-drm2 commitmail json YAML

Include genfb in NO_DRM kernel rather than modularizing.

Modularizing required a bunch of hacks (wscons/genfb/&c. is not ready
for modules) and failed to pull in rasops dependencies, so rasops
never worked correctly.

(riastradh)

2014-01-25 16:38:15 UTC MAIN commitmail json YAML

Get SIZE_MAX and OFF_MAX straight...

(riastradh)

2014-01-25 16:26:17 UTC MAIN commitmail json YAML

Factor out an offtab_compute_window_position routine.

(riastradh)

2014-01-25 15:31:06 UTC MAIN commitmail json YAML

Fix some more integer overflow/truncation issues.

Arithmetic in C is hard.  Let's go shopping!

(riastradh)

2014-01-22 16:40:54 UTC riastradh-drm2 commitmail json YAML

2014-01-22 16:40:44 UTC riastradh-drm2 commitmail json YAML

2014-01-22 14:58:47 UTC riastradh-drm2 commitmail json YAML

Implement mmap on a drm device by a new kludgey ioctl.

There is currently no way to set up a custom choice of uvm object and
uvm pager ops for mmap: struct fileops has no fo_mmap, and device
nodes get to say only what paddr each offset maps to, not what uvm
object to use.  For now, to avoid kernel changes outside the drm2
tree, we'll use a non-standard drm ioctl that calls uvm_map.  This
requires source patches to userland programs, but for the most part
they can simply be converted from calling mmap to drmMap, which will
be adapted to use the ioctl.

This is not necessarily a permanent solution.

(riastradh)

2014-01-22 14:58:39 UTC riastradh-drm2 commitmail json YAML

Label fail4 is now used, so don't mark it __unused.

(riastradh)

2014-01-22 14:58:29 UTC riastradh-drm2 commitmail json YAML

Remove spurious newline to reduce diff from upstream.

(riastradh)

2014-01-22 14:58:20 UTC riastradh-drm2 commitmail json YAML

Fix queue_delayed_work edge cases.

- Copy the relevant part of queue_work in-line for ticks == 0, since
  queue_work itself will choke on a delayed work.

- Don't reschedule the callout if it is already scheduled -- let it
  fire when it was already scheduled to fire.

(riastradh)

2014-01-22 14:58:12 UTC riastradh-drm2 commitmail json YAML

Take irq_lock before waking up irq_queue in i915_handle_error.

(riastradh)

2014-01-22 14:25:07 UTC MAIN commitmail json YAML

2014-01-22 06:18:17 UTC MAIN commitmail json YAML

Bump date on vndcompress(1) man page.

(riastradh)

2014-01-22 06:18:09 UTC MAIN commitmail json YAML

Fix vndcompress man page to reflect default window size.

(riastradh)

2014-01-22 06:18:01 UTC MAIN commitmail json YAML

Change vndcompress to use a default window size of 512.

For vnduncompress on nonseekable input, the window size is as large
as it needs to be by default, as before.  Not clear that this is the
right choice -- by default vnduncompress on nonseekable input will
just use unbounded memory unsolicited.

(riastradh)

2014-01-22 06:17:51 UTC MAIN commitmail json YAML

Document the new vndcompress -w option and nuke BUGS section.

Perhaps vndcompress and vnduncompress ought by default to choose a
limited window size (say, 8192 entries, i.e. 64k bytes, the default
MAXPHYS), and vnduncompress should fall back to an unlimited window
only if the input is nonseekable.

(riastradh)

2014-01-22 06:17:42 UTC MAIN commitmail json YAML

Reflect rename of `-s' to `-b' in the vndcompress man page.

(riastradh)

2014-01-22 06:17:34 UTC MAIN commitmail json YAML

Move err1 & errx1 to the end of vnduncompress.c; add __printflike.

(riastradh)

2014-01-22 06:17:25 UTC MAIN commitmail json YAML

Rename block size option from `-s' to `-b'.

Makes more sense and makes it consistent with other utilities such as
pax and pigz.  This vndcompress has never gone out in a release, so
changing the name of the option shouldn't cause too many problems...

(riastradh)

2014-01-22 06:17:16 UTC MAIN commitmail json YAML

Simplify vndcompress offtab_compute_window_size.

(riastradh)

2014-01-22 06:17:07 UTC MAIN commitmail json YAML

2014-01-22 06:16:59 UTC MAIN commitmail json YAML

Fix up ulimited vndcompress tests and explain what's up with them.

(riastradh)

2014-01-22 06:16:50 UTC MAIN commitmail json YAML

Add some simple automatic tests for window sizes.

(riastradh)

2014-01-22 06:16:41 UTC MAIN commitmail json YAML

Remove silly comment in offtab_reset_write.

(riastradh)

2014-01-22 06:16:32 UTC MAIN commitmail json YAML

Window size is now an option; remove XXX comment to the contrary.

(riastradh)

2014-01-22 06:16:23 UTC MAIN commitmail json YAML

Add comment explaining why piperestart.cl2part is allowed to fail.

(riastradh)

2014-01-22 06:16:14 UTC MAIN commitmail json YAML

Split guard in offtab_write_window into offtab_maybe_write_window.

(riastradh)

2014-01-22 06:16:05 UTC MAIN commitmail json YAML

Seek if necessary at end of offtab_reset_read.

Fixes vnduncompress with a small window, and makes offtab_reset_read
symmetric with offtab_reset_write.

(riastradh)

2014-01-22 06:15:57 UTC MAIN commitmail json YAML

2014-01-22 06:15:48 UTC MAIN commitmail json YAML

Add some leading zero digits to the flags.  Cosmetic change only.

(riastradh)

2014-01-22 06:15:40 UTC MAIN commitmail json YAML

2014-01-22 06:15:31 UTC MAIN commitmail json YAML

Judicious (and justified) casts to avoid signed/unsigned comparisons.

(riastradh)

2014-01-22 06:15:22 UTC MAIN commitmail json YAML

2014-01-22 06:15:13 UTC MAIN commitmail json YAML

2014-01-22 06:15:04 UTC MAIN commitmail json YAML

2014-01-22 06:14:55 UTC MAIN commitmail json YAML

Use write-to-temporary/rename-to-permanent pattern in Makefile.

(riastradh)

2014-01-22 06:14:46 UTC MAIN commitmail json YAML

2014-01-22 06:14:28 UTC MAIN commitmail json YAML

Use read_block instead of read in vnduncompress.

(riastradh)

2014-01-22 06:14:20 UTC MAIN commitmail json YAML

2014-01-22 06:14:03 UTC MAIN commitmail json YAML

Fail if malloc can't allocate offset table.

(riastradh)

2014-01-21 20:57:00 UTC riastradh-drm2 commitmail json YAML

2014-01-21 20:56:50 UTC riastradh-drm2 commitmail json YAML

Call uvm_vm_page_to_phys before taking a spin lock to ease debugging.

(riastradh)

2014-01-21 20:56:40 UTC riastradh-drm2 commitmail json YAML

Call drm_mode_group_init_legacy_group in drm_attach like Linux does.

(riastradh)

2014-01-21 20:56:30 UTC riastradh-drm2 commitmail json YAML

Adjust errno from dev->driver->load.

(riastradh)

2014-01-21 20:56:20 UTC riastradh-drm2 commitmail json YAML

Initialize the right minor numbers...arghhhh.

(riastradh)

2014-01-21 20:56:11 UTC riastradh-drm2 commitmail json YAML

uobj->pgops->pgo_put requires uobj->vmobjlock.

(riastradh)

2014-01-21 20:56:00 UTC riastradh-drm2 commitmail json YAML

Remove vestige of wsdisplay XXX from drm_drv.c.

wsdisplay stuff happens in the parent driver now.

(riastradh)

2014-01-21 20:50:21 UTC riastradh-drm2 commitmail json YAML

Oops -- unifdef <sys/select.h> and <sys/poll.h> in drm_drv.c.

(riastradh)

2014-01-21 20:49:39 UTC riastradh-drm2 commitmail json YAML

Report st_rdev in stat on a drm device.

(riastradh)

2014-01-21 20:49:29 UTC riastradh-drm2 commitmail json YAML

2014-01-21 20:49:20 UTC riastradh-drm2 commitmail json YAML

Fix order of arguments in DRM_COPY_TO_USER.

...

(riastradh)

2014-01-21 20:49:10 UTC riastradh-drm2 commitmail json YAML

Make Linux kmalloc handle a few more gfp flags.

(riastradh)

2014-01-21 20:49:01 UTC riastradh-drm2 commitmail json YAML

2014-01-21 20:48:52 UTC riastradh-drm2 commitmail json YAML

Fix i915_genfb_mmap base addresses and offsets.

(riastradh)

2014-01-15 21:25:49 UTC riastradh-drm2 commitmail json YAML

Initialize the nsec correctly in ktime_get.

(riastradh)

2014-01-15 21:25:39 UTC riastradh-drm2 commitmail json YAML

Use nanouptime, not nanotime, for ktime_get.

As far as I can tell, ktime_get is supposed to provide monotonic
time, not a clock synchronized to TAI.

(riastradh)

2014-01-15 21:25:29 UTC riastradh-drm2 commitmail json YAML

2014-01-15 17:42:28 UTC riastradh-drm2 commitmail json YAML

Unconditionalize the genfb attachment.

(riastradh)

2014-01-15 17:42:18 UTC riastradh-drm2 commitmail json YAML

2014-01-15 13:55:40 UTC riastradh-drm2 commitmail json YAML

Take master->lock.spinlock to read master->lock.hw_lock.

(riastradh)

2014-01-15 13:54:03 UTC riastradh-drm2 commitmail json YAML

Clean up initialization failures in drm2_modcmd.

(riastradh)

2014-01-15 13:53:53 UTC riastradh-drm2 commitmail json YAML

2014-01-15 13:53:42 UTC riastradh-drm2 commitmail json YAML

2014-01-15 13:53:32 UTC riastradh-drm2 commitmail json YAML

Use dev_priv->irq_lock for ring->irq_queue, not dev->struct_mutex.

We need to use a spin lock here, because we need to exclude interrupt
handlers.

(riastradh)

2014-01-15 13:53:20 UTC riastradh-drm2 commitmail json YAML

Implement drm_pci_set_busid and drm_pci_set_unique.

(riastradh)

2014-01-15 13:53:09 UTC riastradh-drm2 commitmail json YAML

Drop another reference in do_destroy if the context is current.

(riastradh)

2014-01-15 13:52:59 UTC riastradh-drm2 commitmail json YAML

Make it a bug to drm_mm_takedown when there remain allocated blocks.

(riastradh)

2014-01-15 13:52:49 UTC riastradh-drm2 commitmail json YAML

Destroy the waitqueue ring->irq_queue in intel_cleanup_ring_buffer.

(riastradh)

2014-01-15 13:52:39 UTC riastradh-drm2 commitmail json YAML

Add open drm files to the device file list.

(riastradh)

2014-01-15 13:52:30 UTC riastradh-drm2 commitmail json YAML

Fix copyoutstr usage in drm_version_string.

(riastradh)

2014-01-15 13:52:20 UTC riastradh-drm2 commitmail json YAML

Make DRM_IOCTL_GET_CLIENT work except for pid and uid.

The pid and uid don't make sense because the client is associated
with a file descriptor, which may be held by multiple processes, and
even if only one holds it (which is probably the only sensible state
of affairs), there's no index.

(riastradh)

2014-01-15 13:52:09 UTC riastradh-drm2 commitmail json YAML

2014-01-15 13:51:58 UTC riastradh-drm2 commitmail json YAML

Convert linux_idr(9) to use spin locks.

idr_for_each is unlocked; caller must exclude modifications.

Eventually this should be rewritten with pserialize and a fancy
bitmap algorithm, but this *actually* works for now.

(riastradh)

2014-01-15 13:51:48 UTC riastradh-drm2 commitmail json YAML

Revert "Rewrite idr to use a dumber algorithm that admits pserialized use."

This reverts commit 3a389a1cb20777fb73575f0514b96265052ac1ea.

I don't know what I was smoking with this; just need to change the
rwlock to a spin lock and we'll be good!

(riastradh)

2013-12-30 04:52:21 UTC riastradh-drm2 commitmail json YAML

Don't put work flush items on the stack; worker kmem_frees them.

(riastradh)

2013-12-30 04:52:11 UTC riastradh-drm2 commitmail json YAML

Rewrite idr to use a dumber algorithm that admits pserialized use.

drm2 doesn't use them with RCU, but it does use them under spin locks,
so an rwlock is not kosher.

This algorithm is super-dumb, but the idr API has changed upstream,
and this is not performance-critical, so it's not worth investing
time in a better algorithm at the moment.

(riastradh)

2013-12-30 04:52:02 UTC riastradh-drm2 commitmail json YAML

flush_workqueue should work now, so don't work around it i915 unload.

(riastradh)

2013-12-30 04:51:53 UTC riastradh-drm2 commitmail json YAML

i915_gem_context_close destroys the idr; i915_driver_postclose needn't.

(riastradh)

2013-12-30 04:51:43 UTC riastradh-drm2 commitmail json YAML

Detach framebuffer stuff before drm device in i915drm_detach.

Detaching the drm device calls the i915_driver_unload routine, which
nukes the i915 private data structures, so that we can't use them any
more to detach the framebuffer.

Now i915drm2 unloads!

(riastradh)

2013-12-30 04:51:35 UTC riastradh-drm2 commitmail json YAML

2013-12-30 04:51:24 UTC riastradh-drm2 commitmail json YAML

Avoid dividing by zero when allocating empty array in kcalloc.

(riastradh)

2013-12-30 04:51:16 UTC riastradh-drm2 commitmail json YAML

Tweak drm_fb_helper_single_fb_probe so we needn't reconnect the screen.

(riastradh)