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 <gentoo-user+bounces-112919-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1OZrFH-0007nc-H3
	for garchives@archives.gentoo.org; Fri, 16 Jul 2010 20:10:55 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CAEE5E0AB5
	for <garchives@archives.gentoo.org>; Fri, 16 Jul 2010 20:10:54 +0000 (UTC)
Received: from mail-gx0-f181.google.com (mail-gx0-f181.google.com [209.85.161.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id 344DEE0848
	for <gentoo-user@lists.gentoo.org>; Fri, 16 Jul 2010 19:50:25 +0000 (UTC)
Received: by gxk28 with SMTP id 28so1889102gxk.40
        for <gentoo-user@lists.gentoo.org>; Fri, 16 Jul 2010 12:50:24 -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=VrtvN9I2Nay35/sbvjOKVxSV2hDSAlgctXDgjt/Qu1I=;
        b=iqY7GWbXzNFeb0uK/o/2cKfU66bL6QwI0ImtGALx1x5EBeYXdKFsAAmDnWaWhT0n55
         ozdfqdVVVLjbm1Ixieot11jUa+GWoP5UrhEme6jTKb4p6zyTFlbGiqjst5XJgCN04K9F
         MzHbjf4QHCvAvxSbnlgkWY/NULaD8tAO1zs/E=
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=LL0O+PokWG7vbCmxfp83VZ8VS+0z6PTR4Wi0dYHsfKVSzzPN+upZhQ3bOJ7PCF05rS
         h92LYkUeF82BRY8xxI+v/QGEnAnAqJrW61ALf8RCtZWxbzL6w9/CWd1SZGkL4diQ3syp
         pOAA6V8vjoZyp11LUKjLHFa/ClfAqelEHuzzE=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.90.84.1 with SMTP id h1mr1255440agb.138.1279309821160; Fri, 16 
	Jul 2010 12:50:21 -0700 (PDT)
Received: by 10.42.7.84 with HTTP; Fri, 16 Jul 2010 12:50:21 -0700 (PDT)
In-Reply-To: <AANLkTil1Kv1LMuHPPFeqUwCHIS3RVNRLf7Q9fGowx7G4@mail.gmail.com>
References: <AANLkTil1Kv1LMuHPPFeqUwCHIS3RVNRLf7Q9fGowx7G4@mail.gmail.com>
Date: Fri, 16 Jul 2010 12:50:21 -0700
Message-ID: <AANLkTimjpth1bkmIzj2Q8qrjsqAryOEnMv1GzIqAdhHP@mail.gmail.com>
Subject: [gentoo-user] Re: 2.6.34 kernel compile error: DRM problem?
From: Grant <emailgrant@gmail.com>
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 16bcb876-3d23-4d13-b422-39141b597a0b
X-Archives-Hash: 032f72911615013503cd7dad7b810ce1

> 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

Any idea on this guys?

- Grant