Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] 2.6.34 kernel compile error: DRM problem?
Date: Mon, 05 Jul 2010 23:44:02
Message-Id: AANLkTil1Kv1LMuHPPFeqUwCHIS3RVNRLf7Q9fGowx7G4@mail.gmail.com
1 I tried to update my laptop and desktop to 2.6.34 but compilation
2 fails with this error:
3
4 drivers/gpu/drm/i915/i915_dma.c: In function 'i915_switcheroo_can_switch':
5 drivers/gpu/drm/i915/i915_dma.c:1419: error: invalid operands to
6 binary == (have 'atomic_t' and 'int')
7
8 or:
9
10 drivers/gpu/drm/nouveau/nouveau_state.c: In function
11 'nouveau_switcheroo_can_switch':
12 drivers/gpu/drm/nouveau/nouveau_state.c:394: error: invalid operands
13 to binary == (have 'atomic_t' and 'int')
14
15 They compile if I disable DRM. I've tried with and without
16 CONFIG_VGA_SWITCHEROO with the same result. Does anyone know how to
17 fix this? I'm trying to use hardened-sources-2.6.34 from the anarchy
18 overlay on both systems.
19
20 - Grant

Replies

Subject Author
[gentoo-user] Re: 2.6.34 kernel compile error: DRM problem? Grant <emailgrant@×××××.com>
[gentoo-user] Re: 2.6.34 kernel compile error: DRM problem? Grant <emailgrant@×××××.com>