From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OaXH6-0003Wr-QG for garchives@archives.gentoo.org; Sun, 18 Jul 2010 17:03:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74EDBE0B34 for ; Sun, 18 Jul 2010 17:03:36 +0000 (UTC) Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 246A8E0A70 for ; Sun, 18 Jul 2010 16:55:11 +0000 (UTC) Received: by iwn42 with SMTP id 42so4017540iwn.40 for ; Sun, 18 Jul 2010 09:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=1IzwEOVR4FDChChR98fzXhCgquX2am72hS5UryvdXhg=; b=ORFRDg/+2Gt0wRGc8FZ0GutqNuLhfgyJJfBKjgrEa5QkvLCdFGOvSd9h7ddJjsbZwu K+lyJI/vnE36eEHxFemRjQmPMcc+3JtumTjyU/85VyOtYpRDdcO9Bv+ZRhd320bZpMzJ HFTOsFTs9+KUD3bvQWQdIoinsCStKaTxQpKwI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=q4fvRAea5NXZPuxHxlJD4+yTv+VpRRhYOJsa0nuParTgTWaSUnxuNEpwcSYKX1MgAX PUchPJUwPPXllxCkmqbQqo7hJhjAqB4cypIUMz+9QyFgW9rDZnenCzg2Rte/ZvsQjfXR KRJ+OqMpPYuTcKIaypg9AUl3cyUWY05Gx3RGo= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.42.1.7 with SMTP id 7mr1313172ice.52.1279472108991; Sun, 18 Jul 2010 09:55:08 -0700 (PDT) Received: by 10.42.8.1 with HTTP; Sun, 18 Jul 2010 09:55:08 -0700 (PDT) In-Reply-To: References: Date: Sun, 18 Jul 2010 09:55:08 -0700 Message-ID: Subject: [gentoo-user] Re: 2.6.34 kernel compile error: DRM problem? From: Grant To: Gentoo mailing list Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5a9e64fb-a2a3-4db4-8f66-cd1678ff81cd X-Archives-Hash: 94596e3da1d52393314e2193fde1d8f8 > 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 =3D=3D (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 =3D=3D (have 'atomic_t' and 'int') > > They compile if I disable DRM. =A0I've tried with and without > CONFIG_VGA_SWITCHEROO with the same result. =A0Does anyone know how to > fix this? =A0I'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