From patchwork Wed Feb 21 17:25:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10233623 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 37E3F602A7 for ; Wed, 21 Feb 2018 17:25:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2312723B32 for ; Wed, 21 Feb 2018 17:25:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 166892465D; Wed, 21 Feb 2018 17:25:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C3F3023B32 for ; Wed, 21 Feb 2018 17:25:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 60EC46E8A6; Wed, 21 Feb 2018 17:25:28 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id D7C4E6E8A2 for ; Wed, 21 Feb 2018 17:25:26 +0000 (UTC) Received: by mail-wr0-x242.google.com with SMTP id k9so6668749wre.9 for ; Wed, 21 Feb 2018 09:25:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursulin-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wDXKWMY5uyk+JMMMASBN7jKBhxUA3Z4uJPtqMER3NV8=; b=1sZ+rX3s3vmwW9pD7taLPN4npzrjQ7HwHZ2xwEmuvZe7J7paPhC49/dPElYpIUrRVk TZOT0RxMH8gP9ivkXFePGDIwJlOrVYKGDnkbdQpVsmbNu9RufC9xeFiNUO1EbuS6D7cn kYSLwFSsFZxj4voFYODi8i8+Suq9n4hkFVP++i5Z/23Qfggt14vEzVyEeEM4M7ym01EJ Fa18YbP4WjHmFm68XTYHCsnExFtK3l2wSRoFeEK3fYuqtvwV2JQ9VJpBdt7wFgAOwk4H ez01U/sRM20JgY2tVMo9u/Fh2RsxTAYTctlZyc1ye81uEDAUhgu4ZBUMVQTtUhEjs5T1 R8zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wDXKWMY5uyk+JMMMASBN7jKBhxUA3Z4uJPtqMER3NV8=; b=czWp8Fzdg1JPshjI9zu2SWF1yy3KJWRRxdJqbO70VaUNehgKBmE8+Ubha/A/Wndwd9 awrR/kK/df8/HJ2lsZ11QTnF1L7/Ss4Tp9bUy+gXe8/DK+0ibT0/+C+2oZ0z8Gl7p19A BhxMonrY1/XYVnyuMt4TuPc+LofiXLDgWMzFmNmeA2t5VGcciC9zZfLnvM18HrGk7V3Q xe8qg/ja+eYITD7bKhcULsLTkKhR1mUENXm8ey1m98Jc6J0fYPbZxsaIzfS5RSHiExGy pthEOEq1W/2jjGy+zBmqZZogfJq0xCcP5ILyn3IYgiT1fNfV/rj3LeRRDHGN8VhAlDGw nhww== X-Gm-Message-State: APf1xPD/tHQF31gzwAUyxNZ63L2U01Hx6xrkkD7dUszXHuTGy7G15vLq VdVd9AukCoflQGUFzebkivcEaxb2 X-Google-Smtp-Source: AH8x227kU93E5Bm7anBeM3BazCXAkkPqwTqZfUvP7Jo6HgLymJd2rfebF7oC51zpPxWp4yaKNHM54A== X-Received: by 10.28.183.195 with SMTP id h186mr2837501wmf.66.1519233925156; Wed, 21 Feb 2018 09:25:25 -0800 (PST) Received: from localhost.localdomain ([95.146.144.186]) by smtp.gmail.com with ESMTPSA id d63sm20796533wmh.16.2018.02.21.09.25.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 09:25:24 -0800 (PST) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: Intel-gfx@lists.freedesktop.org Date: Wed, 21 Feb 2018 17:25:10 +0000 Message-Id: <20180221172510.761-2-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180221172510.761-1-tvrtko.ursulin@linux.intel.com> References: <20180221172510.761-1-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [PATCH 2/2] drm/i915: GuC test run X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Tvrtko Ursulin With disabled aggressive idling from IGT. To see how shard run fares. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/i915_debugfs.c | 3 --- drivers/gpu/drm/i915/i915_params.h | 2 +- drivers/gpu/drm/i915/intel_uc.c | 2 ++ 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 05b41045b8f9..61da6569ad6c 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -4076,9 +4076,6 @@ i915_drop_caches_set(void *data, u64 val) i915_gem_shrink_all(dev_priv); fs_reclaim_release(GFP_KERNEL); - if (val & DROP_IDLE) - drain_delayed_work(&dev_priv->gt.idle_work); - if (val & DROP_FREED) i915_gem_drain_freed_objects(dev_priv); diff --git a/drivers/gpu/drm/i915/i915_params.h b/drivers/gpu/drm/i915/i915_params.h index 430f5f9d0ff4..3deae1e22974 100644 --- a/drivers/gpu/drm/i915/i915_params.h +++ b/drivers/gpu/drm/i915/i915_params.h @@ -47,7 +47,7 @@ struct drm_printer; param(int, disable_power_well, -1) \ param(int, enable_ips, 1) \ param(int, invert_brightness, 0) \ - param(int, enable_guc, 0) \ + param(int, enable_guc, -1) \ param(int, guc_log_level, 0) \ param(char *, guc_firmware_path, NULL) \ param(char *, huc_firmware_path, NULL) \ diff --git a/drivers/gpu/drm/i915/intel_uc.c b/drivers/gpu/drm/i915/intel_uc.c index 9f1bac6398fb..b48056fb769d 100644 --- a/drivers/gpu/drm/i915/intel_uc.c +++ b/drivers/gpu/drm/i915/intel_uc.c @@ -63,6 +63,8 @@ static int __get_platform_enable_guc(struct drm_i915_private *dev_priv) enable_guc |= ENABLE_GUC_LOAD_HUC; /* Any platform specific fine-tuning can be done here */ + if (boot_cpu_has(X86_FEATURE_HYPERVISOR)) + enable_guc = 0; return enable_guc; }