From patchwork Wed Dec 2 17:49:20 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jesse Barnes X-Patchwork-Id: 64318 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB2Ho78t009324 for ; Wed, 2 Dec 2009 17:50:07 GMT Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 79A6A9F62A; Wed, 2 Dec 2009 09:50:06 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from outbound-mail-36.bluehost.com (unknown [69.89.20.190]) by gabe.freedesktop.org (Postfix) with SMTP id B5D969E947 for ; Wed, 2 Dec 2009 09:50:04 -0800 (PST) Received: (qmail 7676 invoked by uid 0); 2 Dec 2009 17:49:44 -0000 Received: from unknown (HELO box514.bluehost.com) (74.220.219.114) by outboundproxy2.bluehost.com with SMTP; 2 Dec 2009 17:49:44 -0000 Received: from [75.111.28.251] (helo=jbarnes-piketon) by box514.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1NFtKi-0006Sl-00; Wed, 02 Dec 2009 10:49:44 -0700 Date: Wed, 2 Dec 2009 09:49:20 -0800 From: Jesse Barnes To: intel-gfx@lists.freedesktop.org Message-ID: <20091202094920.707b2b18@jbarnes-piketon> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.18.3; x86_64-pc-linux-gnu) Mime-Version: 1.0 X-Identified-User: {10642:box514.bluehost.com:virtuous:virtuousgeek.org} {sentby:smtp auth 75.111.28.251 authed with jbarnes@virtuousgeek.org} Cc: Arjan van de Ven Subject: [Intel-gfx] [PATCH] drm/i915: warn if Pineview CxSR can't be enabled X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.9 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 33113c7..874f303 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -4527,6 +4527,11 @@ void intel_modeset_init(struct drm_device *dev) (unsigned long)dev); intel_setup_overlay(dev); + + if (IS_IGD(dev) && !intel_get_cxsr_latency(IS_IGDG(dev), + dev_priv->fsb_freq, + dev_priv->mem_freq)) + DRM_ERROR("failed to find CxSR latency, disabling CxSR\n"); } void intel_modeset_cleanup(struct drm_device *dev)