public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] 2.6.34 kernel compile error: DRM problem?
@ 2010-07-05 23:43 Grant
  2010-07-16 19:50 ` [gentoo-user] " Grant
  2010-07-18 16:55 ` Grant
  0 siblings, 2 replies; 3+ messages in thread
From: Grant @ 2010-07-05 23:43 UTC (permalink / raw
  To: Gentoo mailing list

I tried to update my laptop and desktop to 2.6.34 but compilation
fails with this error:

drivers/gpu/drm/i915/i915_dma.c: In function 'i915_switcheroo_can_switch':
drivers/gpu/drm/i915/i915_dma.c:1419: error: invalid operands to
binary == (have 'atomic_t' and 'int')

or:

drivers/gpu/drm/nouveau/nouveau_state.c: In function
'nouveau_switcheroo_can_switch':
drivers/gpu/drm/nouveau/nouveau_state.c:394: error: invalid operands
to binary == (have 'atomic_t' and 'int')

They compile if I disable DRM.  I've tried with and without
CONFIG_VGA_SWITCHEROO with the same result.  Does anyone know how to
fix this?  I'm trying to use hardened-sources-2.6.34 from the anarchy
overlay on both systems.

- Grant



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: 2.6.34 kernel compile error: DRM problem?
  2010-07-05 23:43 [gentoo-user] 2.6.34 kernel compile error: DRM problem? Grant
@ 2010-07-16 19:50 ` Grant
  2010-07-18 16:55 ` Grant
  1 sibling, 0 replies; 3+ messages in thread
From: Grant @ 2010-07-16 19:50 UTC (permalink / raw
  To: Gentoo mailing list

> I tried to update my laptop and desktop to 2.6.34 but compilation
> fails with this error:
>
> drivers/gpu/drm/i915/i915_dma.c: In function 'i915_switcheroo_can_switch':
> drivers/gpu/drm/i915/i915_dma.c:1419: error: invalid operands to
> binary == (have 'atomic_t' and 'int')
>
> or:
>
> drivers/gpu/drm/nouveau/nouveau_state.c: In function
> 'nouveau_switcheroo_can_switch':
> drivers/gpu/drm/nouveau/nouveau_state.c:394: error: invalid operands
> to binary == (have 'atomic_t' and 'int')
>
> They compile if I disable DRM.  I've tried with and without
> CONFIG_VGA_SWITCHEROO with the same result.  Does anyone know how to
> fix this?  I'm trying to use hardened-sources-2.6.34 from the anarchy
> overlay on both systems.
>
> - Grant

Any idea on this guys?

- Grant



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: 2.6.34 kernel compile error: DRM problem?
  2010-07-05 23:43 [gentoo-user] 2.6.34 kernel compile error: DRM problem? Grant
  2010-07-16 19:50 ` [gentoo-user] " Grant
@ 2010-07-18 16:55 ` Grant
  1 sibling, 0 replies; 3+ messages in thread
From: Grant @ 2010-07-18 16:55 UTC (permalink / raw
  To: Gentoo mailing list

> I tried to update my laptop and desktop to 2.6.34 but compilation
> fails with this error:
>
> drivers/gpu/drm/i915/i915_dma.c: In function 'i915_switcheroo_can_switch':
> drivers/gpu/drm/i915/i915_dma.c:1419: error: invalid operands to
> binary == (have 'atomic_t' and 'int')
>
> or:
>
> drivers/gpu/drm/nouveau/nouveau_state.c: In function
> 'nouveau_switcheroo_can_switch':
> drivers/gpu/drm/nouveau/nouveau_state.c:394: error: invalid operands
> to binary == (have 'atomic_t' and 'int')
>
> They compile if I disable DRM.  I've tried with and without
> CONFIG_VGA_SWITCHEROO with the same result.  Does anyone know how to
> fix this?  I'm trying to use hardened-sources-2.6.34 from the anarchy
> overlay on both systems.
>
> - Grant

This is fixed with hardened-2.6.34-r2 in the anarchy overlay.

- Grant



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-18 17:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-05 23:43 [gentoo-user] 2.6.34 kernel compile error: DRM problem? Grant
2010-07-16 19:50 ` [gentoo-user] " Grant
2010-07-18 16:55 ` Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox