Re: [Intel-gfx] [PATCH] drm/i915: make rc6 in sysfs functions conditional

2012-08-06 Thread Daniel Vetter
On Sun, Jul 01, 2012 at 09:50:34AM -0700, Ben Widawsky wrote: > On Sun, 1 Jul 2012 11:39:40 +0800 > Hunt Xu wrote: > > > Commit 0136db586c028f71e7cc21cc183064ff0d5919c8 merges rc6 information > > into the power group. However, when compiled with CONFIG_PM not set, > > modprobing i915 would taint

Re: [Intel-gfx] [PATCH] drm/i915: make rc6 in sysfs functions conditional

2012-07-01 Thread Ben Widawsky
On Sun, 1 Jul 2012 11:39:40 +0800 Hunt Xu wrote: > Commit 0136db586c028f71e7cc21cc183064ff0d5919c8 merges rc6 information > into the power group. However, when compiled with CONFIG_PM not set, > modprobing i915 would taint since power_group_name is defined as NULL. > > This patch makes these rc

[Intel-gfx] [PATCH] drm/i915: make rc6 in sysfs functions conditional

2012-06-30 Thread Hunt Xu
Commit 0136db586c028f71e7cc21cc183064ff0d5919c8 merges rc6 information into the power group. However, when compiled with CONFIG_PM not set, modprobing i915 would taint since power_group_name is defined as NULL. This patch makes these rc6 in sysfs functions conditional upon the definition of the CO