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 s

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 > 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 to do this --

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 > 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 bu

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/c

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 initializatio

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 . +/* XXX These will multiply evaluate their arguments. */ +#definemax_t(T, X, Y) MAX(X, Y) #define min_t(T,

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

2013-07-28 Thread Alan Barrett
On Wed, 24 Jul 2013, Taylor R Campbell wrote: Modified Files: src/sys/external/bsd/drm2/dist/drm/i915 [riastradh-drm2]: intel_dp.c Log Message: Avoid {0} struct initializer in intel_dp_init_connector. The usual way we deal with this in NetBSD is to write typename varname = {.m

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 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 that defines thes

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 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 something, for other-OS

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 On Wed, Jul 24, 2013 at 02:12:29AM +, Taylor R Campbell wrote: > Add __le16, __le32, and __le64 to . > > As far as I'm aware, these aliases are correct, and the type doesn't > actually have any effect on the byte o

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

2013-07-24 Thread Alan Barrett
On Wed, 24 Jul 2013, Taylor R Campbell wrote: Module Name:src Committed By: riastradh Date: Wed Jul 24 01:54:19 UTC 2013 Modified Files: src/sys/external/bsd/drm2/include/linux [riastradh-drm2]: types.h Log Message: Define cycles_t to be unsigned long long for now in .

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

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

2013-07-23 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 __

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

2013-07-23 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 . Implemente