diff options
| author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2017-09-24 09:15:38 -0400 |
|---|---|---|
| committer | Lucas Stach <l.stach@pengutronix.de> | 2017-10-10 05:45:52 -0400 |
| commit | 49168ee91dd4c47749d52ec270861026da3ccc45 (patch) | |
| tree | 959d44463f4429c8fe8be75455ddfb5f4979dfa4 | |
| parent | 9646025ee6c340b5e5ff2e34d4ae05edc45f1dd4 (diff) | |
drm/etnaviv: add MC perf domain
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
| -rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c b/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c index 9efa933fc7b1..768f5aafdd18 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | |||
| @@ -352,6 +352,29 @@ static const struct etnaviv_pm_domain doms_3d[] = { | |||
| 352 | &perf_reg_read | 352 | &perf_reg_read |
| 353 | } | 353 | } |
| 354 | } | 354 | } |
| 355 | }, | ||
| 356 | { | ||
| 357 | .name = "MC", | ||
| 358 | .profile_read = VIVS_MC_PROFILE_MC_READ, | ||
| 359 | .profile_config = VIVS_MC_PROFILE_CONFIG2, | ||
| 360 | .nr_signals = 3, | ||
| 361 | .signal = (const struct etnaviv_pm_signal[]) { | ||
| 362 | { | ||
| 363 | "TOTAL_READ_REQ_8B_FROM_PIPELINE", | ||
| 364 | VIVS_MC_PROFILE_CONFIG2_MC_TOTAL_READ_REQ_8B_FROM_PIPELINE, | ||
| 365 | &perf_reg_read | ||
| 366 | }, | ||
| 367 | { | ||
| 368 | "TOTAL_READ_REQ_8B_FROM_IP", | ||
| 369 | VIVS_MC_PROFILE_CONFIG2_MC_TOTAL_READ_REQ_8B_FROM_IP, | ||
| 370 | &perf_reg_read | ||
| 371 | }, | ||
| 372 | { | ||
| 373 | "TOTAL_WRITE_REQ_8B_FROM_PIPELINE", | ||
| 374 | VIVS_MC_PROFILE_CONFIG2_MC_TOTAL_WRITE_REQ_8B_FROM_PIPELINE, | ||
| 375 | &perf_reg_read | ||
| 376 | } | ||
| 377 | } | ||
| 355 | } | 378 | } |
| 356 | }; | 379 | }; |
| 357 | 380 | ||
