From patchwork Fri Dec 16 19:25:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Wilson X-Patchwork-Id: 9478307 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 F0B4B601C2 for ; Fri, 16 Dec 2016 19:27:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3D8D28765 for ; Fri, 16 Dec 2016 19:27:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D83B32879E; Fri, 16 Dec 2016 19:27:11 +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 847BC28765 for ; Fri, 16 Dec 2016 19:27:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 665376ECF3; Fri, 16 Dec 2016 19:26:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id B95276ECD1; Fri, 16 Dec 2016 19:26:16 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id g23so7267891wme.1; Fri, 16 Dec 2016 11:26:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=xCOjA/HnHymME4DXXHN7zZF7dy7+/7MiP84NlEqn8XM=; b=V9cVU5TfAZlksBwlvCpz2JOy7wnjlGcjV5ouEmlhf2WDAeVN39ksO31Xf7wo1eGgbu t9JK5mvHf7h5HjiDmSN2y1kOHP/PMWizEuNd+XD9YwoS9KvYty6Ng19nNo5iQ8hJRzSB s7i+TWQVw+JxAmngUNe7D8v2yU+UHLiSFKtu/TXk/mg4CMwvofS8Skhhy9hLG65ziOrb LL1rk2ry2pcLJgTKGLnIiuuQPQBUMlLJgr8H86gJwWBOUf60xMtVl77JTAfJdH+2xTnE SwnuOyvnSIfovMeK7W8MXXWw9XEtj9mxHIcsPuRm2DWq6Y5I82WhckWRNHqsWZYoRJMl 511g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=xCOjA/HnHymME4DXXHN7zZF7dy7+/7MiP84NlEqn8XM=; b=BT+igKZy7JisSOC1i/SGk3wbDMZAkgYa9SlrBBocUFnEQ0kDswysc6qgudfFat3Ad8 kvHkfjpMPNW3ttnaCUn8qc0N7tVilnmP9ovEZL8JSMy1tLnBJKq0MCqNqKbZwX0W7iQw T1x1fDqqKZFq88ze+Ix7v94fbPzSxTLKv4TZk8otfpgXz6pyEHc+ZP9pk4gN0Jdajffb oUiKt5i1qxFwbVkdWXqd4ENEPFiX63+iDXMS/gYr24tJpeETiuztsagdcL9B9z30wemh 84AOP1KQqOXuvk/ealUddffA6NIZ8Vzo2k7KAs1wS03+F79YrRYDO08g8Z7E35P9NitS ikZw== X-Gm-Message-State: AIkVDXL3+L2+eRI3h1k/ub4XRGQv17fJNui33qhNfEb6WDq5xgnDk2HPAMsjZ49odPAXJA== X-Received: by 10.28.130.66 with SMTP id e63mr3993420wmd.39.1481916374154; Fri, 16 Dec 2016 11:26:14 -0800 (PST) Received: from haswell.alporthouse.com ([78.156.65.138]) by smtp.gmail.com with ESMTPSA id v2sm8125856wja.41.2016.12.16.11.26.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Dec 2016 11:26:13 -0800 (PST) From: Chris Wilson To: dri-devel@lists.freedesktop.org Subject: [PATCH v3 20/38] drm/i915: Build DRM range manager selftests for CI Date: Fri, 16 Dec 2016 19:25:32 +0000 Message-Id: <20161216192550.8352-21-chris@chris-wilson.co.uk> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161216192550.8352-1-chris@chris-wilson.co.uk> References: <20161216192550.8352-1-chris@chris-wilson.co.uk> Cc: intel-gfx@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Build the struct drm_mm selftests so that we can trivially run them within our CI. "Enable debug, become developer." - Joonas Lahtinen Signed-off-by: Chris Wilson Reviewed-by: Joonas Lahtinen --- drivers/gpu/drm/i915/Kconfig.debug | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug index 597648c7a645..598551dbf62c 100644 --- a/drivers/gpu/drm/i915/Kconfig.debug +++ b/drivers/gpu/drm/i915/Kconfig.debug @@ -24,6 +24,7 @@ config DRM_I915_DEBUG select X86_MSR # used by igt/pm_rpm select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks) select DRM_DEBUG_MM if DRM=y + select DRM_DEBUG_MM_SELFTEST select DRM_I915_SW_FENCE_DEBUG_OBJECTS default n help