Re: CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-01-30 Thread Taylor R Campbell
Date: Thu, 30 Jan 2014 15:28:00 +1100 from: matthew green m...@eterna.com.au 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

Re: CVS commit: [riastradh-drm2] src/sys

2014-01-30 Thread Taylor R Campbell
Date: Thu, 30 Jan 2014 15:29:31 +1100 from: matthew green m...@eterna.com.au The drm2 `drm' device is now called `drmkms' (likewise `i915drmkms', c.) so that it can coexist with the old drm code to reduce diffs from HEAD. (Can't call a device `drm2'.) there's probably a way

re: CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-01-30 Thread matthew green
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. not sure why this is

re: CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/i915drm

2014-01-29 Thread matthew green
Module Name: src Committed By: riastradh Date: Wed Jan 29 19:47:09 UTC 2014 Modified Files: src/sys/external/bsd/drm2/i915drm [riastradh-drm2]: i915_pci.c Log Message: Defer i915drm_attach_framebuffer until interrupts are running. The i915 code initialization relies

re: CVS commit: [riastradh-drm2] src/sys

2014-01-29 Thread matthew green
Module Name: src Committed By: riastradh Date: Wed Jan 29 19:47:38 UTC 2014 Modified Files: src/sys/conf [riastradh-drm2]: files src/sys/dev/pci [riastradh-drm2]: files.pci src/sys/dev/wsfb [riastradh-drm2]: files.wsfb src/sys/external/bsd/drm2/conf

Re: CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2013-07-28 Thread Alan Barrett
On Wed, 24 Jul 2013, Taylor R Campbell wrote: Modified Files: src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: kernel.h Log Message: Implement bogus max_t in linux/kernel.h. +/* XXX These will multiply evaluate their arguments. */ +#definemax_t(T, X, Y) MAX(X, Y)

Re: CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2013-07-25 Thread Taylor R Campbell
Date: Wed, 24 Jul 2013 08:05:11 +0100 From: David Laight da...@l8s.co.uk On Wed, Jul 24, 2013 at 02:12:29AM +, Taylor R Campbell wrote: Add __le16, __le32, and __le64 to linux/types.h. As far as I'm aware, these aliases are correct, and the type doesn't actually have

Re: CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2013-07-25 Thread Taylor R Campbell
Date: Wed, 24 Jul 2013 07:34:25 +0100 From: Nick Hudson sk...@netbsd.org Can't we please put these compat stubs somewhere common, e.g. sys/external/bsd/compat/linux No objection here (although I think we should probably add a new top-level sys directory, say sys/shims or

Re: CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2013-07-25 Thread Taylor R Campbell
Date: Wed, 24 Jul 2013 08:48:29 +0100 From: David Laight da...@l8s.co.uk On Wed, Jul 24, 2013 at 03:47:07AM +, Taylor R Campbell wrote: Kludge around max as a local variable in intel_panel.c. Possibly adding a #define for max/min before/after including the netbsd header

Re: CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2013-07-24 Thread Nick Hudson
On 07/24/13 01:49, Taylor R Campbell wrote: Module Name:src Committed By: riastradh Date: Wed Jul 24 00:49:48 UTC 2013 Modified Files: src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: list.h Log Message: Add initial draft of Linux list and hlist to

Re: CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/include/linux

2013-07-24 Thread David Laight
On Wed, Jul 24, 2013 at 02:12:29AM +, Taylor R Campbell wrote: Module Name: src Committed By: riastradh Date: Wed Jul 24 02:12:29 UTC 2013 Modified Files: src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: types.h Log Message: Add __le16, __le32, and __le64 to

Re: CVS commit: [riastradh-drm2] src/sys/external/bsd/drm2/dist/drm/i915

2013-07-24 Thread David Laight
On Wed, Jul 24, 2013 at 03:47:07AM +, Taylor R Campbell wrote: Module Name: src Committed By: riastradh Date: Wed Jul 24 03:47:07 UTC 2013 Modified Files: src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: intel_panel.c Log Message: Kludge around max as a local