[PATCH] drm/i915: gracefully bail out when init_clock_gating-pointer is not set

2011-06-20 Thread Wolfram Sang
Commit 6067aa (drm/i915: split clock gating init into per-chipset functions) introduces an init_clock_gating-pointer. There is one case, however, where it does not get set, so that caused an OOPS (Bug 37252). Change the code to return -ENODEV in this case and propagate it to the upper layers. Sign

[PATCH] drm/i915: gracefully bail out when init_clock_gating-pointer is not set

2011-06-20 Thread Chris Wilson
On Mon, 20 Jun 2011 18:10:30 +0200, Wolfram Sang wrote: > Commit 6067aa (drm/i915: split clock gating init into per-chipset > functions) introduces an init_clock_gating-pointer. There is one case, > however, where it does not get set, so that caused an OOPS (Bug 37252). > Change the code to retur

Re: [PATCH] drm/i915: gracefully bail out when init_clock_gating-pointer is not set

2011-06-20 Thread Chris Wilson
On Mon, 20 Jun 2011 18:10:30 +0200, Wolfram Sang wrote: > Commit 6067aa (drm/i915: split clock gating init into per-chipset > functions) introduces an init_clock_gating-pointer. There is one case, > however, where it does not get set, so that caused an OOPS (Bug 37252). > Change the code to return

[PATCH] drm/i915: gracefully bail out when init_clock_gating-pointer is not set

2011-06-20 Thread Wolfram Sang
Commit 6067aa (drm/i915: split clock gating init into per-chipset functions) introduces an init_clock_gating-pointer. There is one case, however, where it does not get set, so that caused an OOPS (Bug 37252). Change the code to return -ENODEV in this case and propagate it to the upper layers. Sign