[Intel-gfx] [PATCH 2/2] drm/i915: disable powersave feature for Ironlake currently
Jesse Barnes
jbarnes at virtuousgeek.org
Mon Sep 28 19:38:14 CEST 2009
On Fri, 25 Sep 2009 16:01:29 +0800
Zhenyu Wang <zhenyuw at linux.intel.com> wrote:
> Until we figure out the right setting for powersave features on
> Ironlake, disable it for now, also disable watermark update,
> which has new registers for it on Ironlake too.
>
> Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
> ---
> drivers/gpu/drm/i915/i915_dma.c | 3 +++
> drivers/gpu/drm/i915/intel_display.c | 3 +++
> 2 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_dma.c
> b/drivers/gpu/drm/i915/i915_dma.c index 45d507e..733f051 100644
> --- a/drivers/gpu/drm/i915/i915_dma.c
> +++ b/drivers/gpu/drm/i915/i915_dma.c
> @@ -1202,6 +1202,9 @@ static int i915_load_modeset_init(struct
> drm_device *dev, if (IS_I965G(dev) || IS_G33(dev))
> dev_priv->cursor_needs_physical = false;
>
> + if (IS_IGDNG(dev))
> + i915_powersave = 0;
Can you use the new function pointer code instead? Just make no-ops
for the watermark update functions and the other stuff that doesn't
work...
Thanks,
Jesse
More information about the Intel-gfx
mailing list