mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: Re-factor perfmon unit
- Move the perfmon unit source code to common/pmu/perfmon/ folder - Separate perfmon unit headers under include/nvgpu/pmu/pmu_perfmon.h - Make a new structure: nvgpu_pmu_perfmon for perfmon unit - This new struct combines all perfmon unit variables like perfmon_query, perfmon_ready etc. into one structure as a part of perfmon unit refactoring. - Use pmu_perfmon struct to access all perfmon variables. - Eg: pmu->pmu_perfmon->perfmon_query, pmu->pmu_perfmon->perfmon_ready and so on. JIRA NVGPU-1961 Change-Id: I57516c646bfb256004dd7b719e40fafd3c2a09b2 Signed-off-by: Divya Singhatwaria <dsinghatwari@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2080555 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
3c08a91de8
commit
700c16599e
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* gk20a clock scaling profile
|
||||
*
|
||||
* Copyright (c) 2013-2018, NVIDIA Corporation. All rights reserved.
|
||||
* Copyright (c) 2013-2019, NVIDIA Corporation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <nvgpu/log.h>
|
||||
#include <nvgpu/gk20a.h>
|
||||
#include <nvgpu/clk_arb.h>
|
||||
#include <nvgpu/pmu/pmu_perfmon.h>
|
||||
|
||||
#include "platform_gk20a.h"
|
||||
#include "scale.h"
|
||||
|
||||
Reference in New Issue
Block a user