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

Reply via email to