Oops in i915 intel_init_clock_gating

From: Scott Ashcroft
Date: Sat Jun 04 2011 - 20:08:52 EST


Looks like the following commit:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6067aaeadb5b3df26f27ac827256b1ef01e674f5


didn't cope with the pineview case so dev_priv->display.init_clock_gating is
NULL causing an Oops.

The old code didn't seem to do anything for pineview so I wrapped the call with
a simple NULL check but I'm not sure if that's the correct fix.

Cheers,
Scott

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/