FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-05-2010, 11:43 PM
Grant
 
Default 2.6.34 kernel compile error: DRM problem?

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
 
Old 07-16-2010, 07:50 PM
Grant
 
Default 2.6.34 kernel compile error: DRM problem?

> 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
 
Old 07-18-2010, 04:55 PM
Grant
 
Default 2.6.34 kernel compile error: DRM problem?

> 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
 

Thread Tools




All times are GMT. The time now is 05:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org