From patchwork Thu Dec 22 08:36:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Wilson X-Patchwork-Id: 9484399 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 D12DC601D2 for ; Thu, 22 Dec 2016 08:37:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD25327FA6 for ; Thu, 22 Dec 2016 08:37:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1F48283A6; Thu, 22 Dec 2016 08:37:22 +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 61EBE282DC for ; Thu, 22 Dec 2016 08:37:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D25186F16E; Thu, 22 Dec 2016 08:37:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wj0-x242.google.com (mail-wj0-x242.google.com [IPv6:2a00:1450:400c:c01::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2E1DA6F175; Thu, 22 Dec 2016 08:37:08 +0000 (UTC) Received: by mail-wj0-x242.google.com with SMTP id kp2so35174608wjc.0; Thu, 22 Dec 2016 00:37:08 -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=Dg+ABK8lMw63auNrdk497r0+MKpsyEP0eyI6I9fJt3AgMDF4U03ZLOqdlLmbL0d7VL IrzVd1LahhrWw8z0fNB5c3QAYdzmw+xZWeYcK7dj6sux+ETWz+0CKQoWVuF9NVetmAnm VGF+DbbYGyD4Ic64xvynta6MrRh70mdtW0ysu2fwW6bstbRSfb2v3p9ZGh6zjtI+zBpo BmeSoPymVxXuceGyCtrfXDqmnMcqDPaR0soNjWUkmPy6XWfNNbQ7GKgKWPLP5SPZ2P4B F6QIof5DcGVXEHU+VjT5wkCc7R8vEn80q+63YlBOe/onBcQQWsq3/MW1z6ZFt8VR8DCT jbFw== 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=bdIyjpyUQiQZV29n9xynQnNBzEnqoad0mure0bPXrJ5dzTfZnkkWqWXCBN/smzzp1c Efh9+rooo0eh/T76b7gw/r40nq13KmeZsrXPmwg9iLhL/FNoIOy5ky7wE9Qp4SbE8FFM k/fGi+TRVgaw+r8ahYmdRuMqrrxJS4Z0LGsRlj2AlBWYd2ulzXQcl6BT6fR0axam4iRm 2lnkXU7/qJouxDYnWy6n/CPWveSV9A7f7CqPXTusRvLJTNUhEvuOLe46g/AUE/rKQtfT yllWyapyBnfVPiLv0b2X9+lZJaLbVdWLxMCJgi1d9Aiw5V7wJ0icfFduMbLfA8ai/GLa awAA== X-Gm-Message-State: AIkVDXIoLgHql+K5Pe3iW85233Cmc2rhqnuvQTwvapblyseC5of7Y8vqJHgxSTNX15OdYw== X-Received: by 10.194.80.162 with SMTP id s2mr7776466wjx.52.1482395826401; Thu, 22 Dec 2016 00:37:06 -0800 (PST) Received: from haswell.alporthouse.com ([78.156.65.138]) by smtp.gmail.com with ESMTPSA id di9sm34442318wjc.37.2016.12.22.00.37.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Dec 2016 00:37:05 -0800 (PST) From: Chris Wilson To: dri-devel@lists.freedesktop.org Subject: [PATCH v4 20/38] drm/i915: Build DRM range manager selftests for CI Date: Thu, 22 Dec 2016 08:36:23 +0000 Message-Id: <20161222083641.2691-21-chris@chris-wilson.co.uk> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161222083641.2691-1-chris@chris-wilson.co.uk> References: <20161222083641.2691-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