From patchwork Wed Jan 30 03:41:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?St=C3=A9phane_Marchesin?= X-Patchwork-Id: 2065101 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 45B61DF264 for ; Wed, 30 Jan 2013 03:42:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F0881E5F8E for ; Tue, 29 Jan 2013 19:42:10 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by gabe.freedesktop.org (Postfix) with ESMTP id 53B41E5DC2 for ; Tue, 29 Jan 2013 19:42:02 -0800 (PST) Received: by mail-pb0-f47.google.com with SMTP id rp8so694354pbb.6 for ; Tue, 29 Jan 2013 19:42:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=x-received:from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; bh=YL2odbfKJ7Y8AjLyViBDHebyF2YducyZ8KvhJ4eJqco=; b=E3vKkJaP2ib8OEU4JEZmrrpWpDpCGXqy75nvsvqb9CrAybWm8hgfr96jbYeOWkUZvM C4tY9EJS/j701vwU0zLFY2FXesW9Y/w4fSsBh1Ov3bAVhzryxE+eX74KY7dDp/pTXwQQ o8hpVy//BanJi09mNgXzqvkiCrr1U3OIMLaj8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding:x-gm-message-state; bh=YL2odbfKJ7Y8AjLyViBDHebyF2YducyZ8KvhJ4eJqco=; b=B8uUozcB7/r6XyqOsD9E63Ib+nQ7/vYpuKwjy4aTC70u1iVMZV82OV33cPOKjpeIus KxLT5cyFHiQQmKHN2wk+Hjr/tY//HGTgSGq5xeHXrvTn29vYSF/0mgR1eQx8kGD33JhW HM4tHE/qgDiFU5u6NxpN/pakkX9eQByeOnr3IksgJ96lIG/qlpHfKboJxYkRrHI574EM ZdDbKtBU3Zhlyy+xZbhnl8EudH2iVO4FWbKOZ9a4aw3TABBum4hRkQNlu3WDT2WfvVsP TFv0QrVCsUgaYebUOxj8xqsKk1/INkLUdBzYXT8zEImv6xRmqxvoBfL6KiK0ptF98gY4 nlfQ== X-Received: by 10.66.84.195 with SMTP id b3mr8537280paz.30.1359517322285; Tue, 29 Jan 2013 19:42:02 -0800 (PST) Received: from localhost ([2620:0:1000:1b01:ae16:2dff:fe07:4f4f]) by mx.google.com with ESMTPS id ot3sm131162pbb.38.2013.01.29.19.42.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 29 Jan 2013 19:42:01 -0800 (PST) From: =?UTF-8?q?St=C3=A9phane=20Marchesin?= To: intel-gfx@lists.freedesktop.org Date: Tue, 29 Jan 2013 19:41:59 -0800 Message-Id: <1359517319-30687-1-git-send-email-marcheu@chromium.org> X-Mailer: git-send-email 1.8.1 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQnBNQ8ok9XFkU7vg/aCQjKai4H0CxWBsJIXh4fQeUFMv3PeHE0NsNyW1w9Cs2uwYQ/xeirt Subject: [Intel-gfx] [PATCH] drm/i915: Increase the RC6p threshold. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org This increases GEN6_RC6p_THRESHOLD from 100000 to 150000. For some reason this avoids the gen6_gt_check_fifodbg.isra warnings and associated GPU lockups, which makes my ivy bridge machine stable. Signed-off-by: Stéphane Marchesin --- drivers/gpu/drm/i915/intel_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 3280cff..dde0ded 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -2572,7 +2572,7 @@ static void gen6_enable_rps(struct drm_device *dev) I915_WRITE(GEN6_RC_SLEEP, 0); I915_WRITE(GEN6_RC1e_THRESHOLD, 1000); I915_WRITE(GEN6_RC6_THRESHOLD, 50000); - I915_WRITE(GEN6_RC6p_THRESHOLD, 100000); + I915_WRITE(GEN6_RC6p_THRESHOLD, 150000); I915_WRITE(GEN6_RC6pp_THRESHOLD, 64000); /* unused */ /* Check if we are enabling RC6 */