All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Gmeiner <christian.gmeiner@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: linux+etnaviv@armlinux.org.uk, etnaviv@lists.freedesktop.org,
	cphealy@gmail.com
Subject: [PATCH V4 20/23] drm/etnaviv: add MC perf domain
Date: Tue, 12 Sep 2017 17:11:52 +0200	[thread overview]
Message-ID: <20170912151155.4603-21-christian.gmeiner@gmail.com> (raw)
In-Reply-To: <20170912151155.4603-1-christian.gmeiner@gmail.com>

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
---
 drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c b/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c
index fa9b5f4b0ccb..2345c71e164a 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c
@@ -347,6 +347,29 @@ static const struct etnaviv_pm_domain doms[] = {
 				&perf_reg_read
 			}
 		}
+	},
+	{
+		.name = "MC",
+		.profile_read = VIVS_MC_PROFILE_MC_READ,
+		.profile_config = VIVS_MC_PROFILE_CONFIG2,
+		.nr_signals = 3,
+		.signal = (const struct etnaviv_pm_signal[]) {
+			{
+				"TOTAL_READ_REQ_8B_FROM_PIPELINE",
+				VIVS_MC_PROFILE_CONFIG2_MC_TOTAL_READ_REQ_8B_FROM_PIPELINE,
+				&perf_reg_read
+			},
+			{
+				"TOTAL_READ_REQ_8B_FROM_IP",
+				VIVS_MC_PROFILE_CONFIG2_MC_TOTAL_READ_REQ_8B_FROM_IP,
+				&perf_reg_read
+			},
+			{
+				"TOTAL_WRITE_REQ_8B_FROM_PIPELINE",
+				VIVS_MC_PROFILE_CONFIG2_MC_TOTAL_WRITE_REQ_8B_FROM_PIPELINE,
+				&perf_reg_read
+			}
+		}
 	}
 };
 
-- 
2.13.5

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2017-09-12 15:11 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-12 15:11 [PATCH 00/23] drm/etnaviv: support performance counters Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 01/23] drm/etnaviv: use bitmap to keep track of events Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 02/23] drm/etnaviv: make it possible to allocate multiple events Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 03/23] drm/etnaviv: add infrastructure to query perf counter Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 04/23] drm/etnaviv: add uapi for perfmon feature Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 05/23] drm/etnaviv: add internal representation of perfmon_request Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 06/23] drm/etnaviv: extend etnaviv_gpu_cmdbuf_new(..) with nr_pmrs Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 07/23] drm/etnaviv: add performance monitor request validation Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 08/23] drm/etnaviv: copy pmrs from userspace Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 09/23] drm/etnaviv: add performance monitor request processing Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 10/23] drm/etnaviv: add 'sync point' support Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 11/23] drm/etnaviv: clear alloced event Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 12/23] drm/etnaviv: use 'sync points' for performance monitor requests Christian Gmeiner
2017-09-13 11:03   ` Lucas Stach
2017-09-13 14:35     ` Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 13/23] drm/etnaviv: add HI perf domain Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 14/23] drm/etnaviv: add PE " Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 15/23] drm/etnaviv: add SH " Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 16/23] drm/etnaviv: add PA " Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 17/23] drm/etnaviv: add SE " Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 18/23] drm/etnaviv: add RA " Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 19/23] drm/etnaviv: add TX " Christian Gmeiner
2017-09-12 15:11 ` Christian Gmeiner [this message]
2017-09-12 15:11 ` [PATCH V4 21/23] drm/etnaviv: need to disable clock gating when doing profiling Christian Gmeiner
2017-09-13 11:05   ` Lucas Stach
2017-09-13 14:36     ` Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 22/23] drm/etnaviv: enable debug registers on demand Christian Gmeiner
2017-09-12 15:11 ` [PATCH V4 23/23] drm/etnaviv: submit supports performance monitor requests Christian Gmeiner
2017-09-13 11:01 ` [PATCH 00/23] drm/etnaviv: support performance counters Lucas Stach
2017-09-13 14:32   ` Christian Gmeiner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170912151155.4603-21-christian.gmeiner@gmail.com \
    --to=christian.gmeiner@gmail.com \
    --cc=cphealy@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=etnaviv@lists.freedesktop.org \
    --cc=linux+etnaviv@armlinux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.