Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp267258pxa; Wed, 26 Aug 2020 10:03:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynFEE6qPZgRVPdSx1HPpVl5j8Gc/BNoOgiuqB9UTgRtra0zz3HgySx+AkyPZWPw1grlgXk X-Received: by 2002:a17:906:48c8:: with SMTP id d8mr15927289ejt.331.1598461389522; Wed, 26 Aug 2020 10:03:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598461389; cv=none; d=google.com; s=arc-20160816; b=sT5WudE5aGp2s3p7KcFaSIC8VIbu6RTnePx1zbwREoSZY6lw21kwwq04HS+0Mis9jI lZahwIpqDCIJsamZY3kQ8wziBxvryJGjqsXPOVyntcNPLMxugsXH7n4MwgL7CQey5ZU6 PPl8B9sbGs8bwVisNBwjRNIExF/vFX/Y5W7KoBAj70eRTtmRlokuuLs21R0KbRH4ur4E AVuRw0bMu+HUi89HhrAejnVQ5xihvoBPCfjpD5MATQKCBkkQXn7gDS3hOa/aHAzdxu7h iDNcPwF1/D7zce0iKWprh460l4uCKsloHUqSbMiTjbg3M5d32cosgrR3IE82UEcfdlHT MSqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=F84GgHzsN1yeQN6PQRJoTTLm9lE05lKnfqitPnJqWLU=; b=1FDqiq08KfuUYzkTCuQvTBG44bEKvRLAPQ0Sy3kTtMk/c10lY3MTJo44kpZLf0nlfh /O4aZOWXkZtO9CttKau3HGMYDedmGCCmTWLsfeBQXfCxPxpfVQg42vWC9qCP0RfCBLlK 3IfXQdciKYMDlo5npVR1CXb68AFN5wz7MbjmJ0YFzOySAyyARePluwp3+H64AbQgPQA/ 3RAyk40qznDIkfyw9PVoHGe0zZVs8Il3f9Jy9TDualtKlDMNN6wZJaftzgKDXHl0LyIc NRnPqp134mxpuTp/ft5gI0u7BjE7p0NV2taHVxWHsZXMkrqu+VKnvVs/sauPPsy5EDTs XJZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e4Vi6MHy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si1964958ejg.744.2020.08.26.10.02.46; Wed, 26 Aug 2020 10:03:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e4Vi6MHy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726854AbgHZRBj (ORCPT + 99 others); Wed, 26 Aug 2020 13:01:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727115AbgHZRA6 (ORCPT ); Wed, 26 Aug 2020 13:00:58 -0400 Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45699C061574 for ; Wed, 26 Aug 2020 10:00:57 -0700 (PDT) Received: by mail-il1-x143.google.com with SMTP id f12so2394786ils.6 for ; Wed, 26 Aug 2020 10:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=F84GgHzsN1yeQN6PQRJoTTLm9lE05lKnfqitPnJqWLU=; b=e4Vi6MHy6UTLsDMSjkNofHtVcQzUuSjP1UEi4Zl4t/K7FK4wYLGiwebK/NStDprP7I odFjBwSqQCKsEVlcnX+yDkG/CENe6HUJJbKAsN/W791aS2qH2UWYswF/4ewLctaolHpV CBm8TzzLoKGLF8vkT58wSBPAmXdL2F7T/66f8TVM9Gf3FamqClb7nmLl1NgqcEsVUmHo dgabwZx0bB+Gx/t4j2JaxG/c/kX2yzPUPR68YgPP5jd8wvn7WTQR0BV2WhYxSEog3f9l QghttGRVagCMEoeemQdkmK0WpfU9s6H6i6hxGmw16LnQM+gcSjIo4/FUoxg6Nb/fe5Ep DnAA== 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:mime-version:content-transfer-encoding; bh=F84GgHzsN1yeQN6PQRJoTTLm9lE05lKnfqitPnJqWLU=; b=HvZuPULAD20RSeRgc0tGu4M0WkjL4ZEoANlS3Z5cy8wpZQt/JmFBYAGjDAhiccmLGo PPYwooE3B3+F7vFfTUXBWClPo/NmiMY/q91hMjWU54C3jYDXiT2urvN495A/fowW7rxF kAOHERupJOsWCanmB8OU7Bvnn/mGOU+rJPKZMfjSUgpaa0xCEXaAIMrspMTvRytEpA9I 2kY3cLpGT9nnotfDk3dLBraygaRwDxnsjUKb3ChdZnSXc08hKkZ4xW1XhK1c6zHusL1k Xw8w8Cuk7A0vKfvnh/2CzxSNJDSLauY2+wg3wKnKJO/nP0LxtoBNpcxN9QXo7dIxQNBQ qLcw== X-Gm-Message-State: AOAM531m5qPcx4wuNaL1+6WAGQ58IJcMOR21fQtvas5/a8VqPVk2jvpa GXjbzNkY6KMqG21+YmG6THnkDZcLr8g6+GTJ X-Received: by 2002:a92:bb8d:: with SMTP id x13mr13758338ilk.243.1598461256033; Wed, 26 Aug 2020 10:00:56 -0700 (PDT) Received: from frodo.hsd1.co.comcast.net ([2601:284:8203:5970::c4c]) by smtp.googlemail.com with ESMTPSA id p78sm1479606iod.0.2020.08.26.10.00.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 10:00:55 -0700 (PDT) From: Jim Cromie To: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, jbaron@akamai.com Cc: Jim Cromie , Zhenyu Wang , Zhi Wang , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org Subject: [PATCH 3/4] i915: add -DDYNAMIC_DEBUG_MODULE to i915/gvt/Makefile Date: Wed, 26 Aug 2020 11:00:40 -0600 Message-Id: <20200826170041.2497546-4-jim.cromie@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200826170041.2497546-1-jim.cromie@gmail.com> References: <20200826170041.2497546-1-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This addition to cflags enables dyndbg in the gvt component of the i915 module, on a CONFIG_DYNAMIC_DEBUG_CORE build. So here are the message classifications that the gvt driver uses. cut -d= -f2 | cut -d\ -f2,3 | \ perl -ne 'chomp $_ && $h{$_}++; END{print "$_\" \tseen $h{$_}\n" for sort keys %h}' "gvt: cmd:" seen 11 "gvt: core:" seen 48 "gvt: dpy:" seen 4 "gvt: el:" seen 21 "gvt: irq:" seen 1 "gvt: mm:" seen 6 "gvt: mmio:" seen 9 "gvt: render:" seen 1 "gvt: sched:" seen 15 Signed-off-by: Jim Cromie --- drivers/gpu/drm/i915/gvt/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/gvt/Makefile b/drivers/gpu/drm/i915/gvt/Makefile index ea8324abc784..2c581e910688 100644 --- a/drivers/gpu/drm/i915/gvt/Makefile +++ b/drivers/gpu/drm/i915/gvt/Makefile @@ -5,5 +5,6 @@ GVT_SOURCE := gvt.o aperture_gm.o handlers.o vgpu.o trace_points.o firmware.o \ execlist.o scheduler.o sched_policy.o mmio_context.o cmd_parser.o debugfs.o \ fb_decoder.o dmabuf.o page_track.o -ccflags-y += -I $(srctree)/$(src) -I $(srctree)/$(src)/$(GVT_DIR)/ -i915-y += $(addprefix $(GVT_DIR)/, $(GVT_SOURCE)) +ccflags-y += -I $(srctree)/$(src) -I $(srctree)/$(src)/$(GVT_DIR)/ +ccflags-y += -DDYNAMIC_DEBUG_MODULE +i915-y += $(addprefix $(GVT_DIR)/, $(GVT_SOURCE)) -- 2.26.2