From patchwork Wed Feb 21 08:08:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10231433 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 E672260209 for ; Wed, 21 Feb 2018 08:08:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D833428A20 for ; Wed, 21 Feb 2018 08:08:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA63428A69; Wed, 21 Feb 2018 08:08:34 +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 D11B828A20 for ; Wed, 21 Feb 2018 08:08:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 525256E53F; Wed, 21 Feb 2018 08:08:33 +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 602F56E53F for ; Wed, 21 Feb 2018 08:08:32 +0000 (UTC) Received: by mail-wr0-x242.google.com with SMTP id n7so1827049wrn.5 for ; Wed, 21 Feb 2018 00:08:32 -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=8ZvHCJ9G8I6GYeLc+MJo7x8iNjYoRubWnEli0iJlOpw=; b=BWmuWa+MAQIhFSnM4FprHEIxaNRl8ogCUvd332acEGsuSfNdF8Wjy3eijLgL5WRRuh RIZqBY2zenc1AZ3hB6FJhHijWPJnaHMZHRS6KIWgZOhw6U+onS8Fvtn0LPnDE4ViwFmi fn5OU4Xss/F6XRDZTHvKBsCMBdi6iYq0d/XBtcem8ErLsXDs7/qhwmKIWb9SugRFo48W cfSQoczqAHc4LPm3vkbD4ltm2h9XFPzV0518tM/FPVZLq80DHhbThMhMUfpMROxNroMU aa/e8NK9EwWdGKH1+Di9eNO7ueRp1HjU4AScYoHcz0JObbD/BI97OzwL85npgq2EPrfI z4vg== 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=8ZvHCJ9G8I6GYeLc+MJo7x8iNjYoRubWnEli0iJlOpw=; b=afg+yOZhuGAVnQ5xv5hnRh9M4g8Baqtx97JvH6H8c9zholErUZHrufVJcqVDUtHm4b yfvhfMRU464gSATV52s93RtdzuzvfnK2nHMAwHBdE90r4WeD6mguc3w5lzYQjsgg0WTI nA6+iKJrpnmCNrD2Jdsu59IZBZUfKwmUktbtBsK1gvfIDEz9dLJFfs6d2go/3jFiRvLM c1XKSzSRFtRYAPsajV4RRK94D8zrEWa2fN5apacC9Nb8eByFXhiGiKbf6Jo/XdUYKwU4 nIYZvjhc0QaHWhsVmX8UsWnxcwu6NV930cUzJWqEHlVVmbtkh0hS7FzsY5uWdUlE5I8z yJMw== X-Gm-Message-State: APf1xPD9thxLnwC+klHuQNjJjm1I8ra0h4G5Wu41JkS+JJQ4eZ5I2BIe V1QDkHc/SaxBSCm7EMkfg4D1sksZ X-Google-Smtp-Source: AH8x225IExq/sT/D9Zof1yzXF1uprpX3vF9JunoKmspfWM/c2UatMXDwErBbt3Tsj6rx2I4MEktpbw== X-Received: by 10.223.166.135 with SMTP id t7mr2133858wrc.260.1519200510620; Wed, 21 Feb 2018 00:08:30 -0800 (PST) Received: from localhost.localdomain ([95.146.144.186]) by smtp.gmail.com with ESMTPSA id n24sm30025060wmi.21.2018.02.21.00.08.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 00:08:30 -0800 (PST) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: Intel-gfx@lists.freedesktop.org Date: Wed, 21 Feb 2018 08:08:22 +0000 Message-Id: <20180221080822.5295-1-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180220183636.28204-1-tvrtko.ursulin@linux.intel.com> References: <20180220183636.28204-1-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [CI v3] 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..7f2af5b43a2a 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 (intel_gvt_active(dev_priv)) + enable_guc = false; return enable_guc; }