Skip to content

Commit

Permalink
Update HWCPipe submodule (#1273)
Browse files Browse the repository at this point in the history
* Update HWCPipe submodule

* Update copyright year
  • Loading branch information
JoseEmilio-ARM authored Feb 24, 2025
1 parent 40e3b44 commit 9af783a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions framework/stats/hwcpipe_stats_provider.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Copyright (c) 2018-2024, Arm Limited and Contributors
* Copyright (c) 2020-2024, Broadcom Inc.
/* Copyright (c) 2018-2025, Arm Limited and Contributors
* Copyright (c) 2020-2025, Broadcom Inc.
*
* SPDX-License-Identifier: Apache-2.0
*
Expand All @@ -20,9 +20,9 @@

namespace
{
const char *get_product_family_name(hwcpipe::device::product_id::gpu_family f)
const char *get_product_family_name(hwcpipe::device::gpu_family f)
{
using gpu_family = hwcpipe::device::product_id::gpu_family;
using gpu_family = hwcpipe::device::gpu_family;

switch (f)
{
Expand All @@ -46,12 +46,12 @@ HWCPipeStatsProvider::HWCPipeStatsProvider(std::set<StatIndex> &requested_stats)
// clang-format off
StatDataMap hwcpipe_stats = {
{StatIndex::gpu_cycles, {hwcpipe_counter::MaliGPUActiveCy}},
{StatIndex::gpu_vertex_cycles, {hwcpipe_counter::MaliNonFragQueueActiveCy, {MaliNonFragActiveCy, MaliBinningIterActiveCy} }},
{StatIndex::gpu_vertex_cycles, {hwcpipe_counter::MaliNonFragQueueActiveCy, {MaliNonFragActiveCy, MaliBinningQueueActiveCy} }},
{StatIndex::gpu_load_store_cycles, {hwcpipe_counter::MaliLSIssueCy}},
{StatIndex::gpu_tiles, {hwcpipe_counter::MaliFragTile}},
{StatIndex::gpu_killed_tiles, {hwcpipe_counter::MaliFragTileKill}},
{StatIndex::gpu_fragment_cycles, {hwcpipe_counter::MaliFragQueueActiveCy, {MaliFragActiveCy, MaliMainIterActiveCy}}},
{StatIndex::gpu_fragment_jobs, {hwcpipe_counter::MaliFragQueueJob, {MaliFragIterJob, MaliMainIterJob}}},
{StatIndex::gpu_fragment_cycles, {hwcpipe_counter::MaliFragQueueActiveCy, {MaliFragActiveCy, MaliMainQueueActiveCy}}},
{StatIndex::gpu_fragment_jobs, {hwcpipe_counter::MaliFragQueueJob, {MaliMainQueueJob}}},
{StatIndex::gpu_ext_reads, {hwcpipe_counter::MaliExtBusRdBt}},
{StatIndex::gpu_ext_writes, {hwcpipe_counter::MaliExtBusWrBt}},
{StatIndex::gpu_ext_read_stalls, {hwcpipe_counter::MaliExtBusRdStallCy}},
Expand All @@ -67,7 +67,7 @@ HWCPipeStatsProvider::HWCPipeStatsProvider(std::set<StatIndex> &requested_stats)
LOGI("HWCPipe: ------------------------------------------------------------");
LOGI("HWCPipe: GPU Device {}:", gpu.get_device_number());
LOGI("HWCPipe: ------------------------------------------------------------");
LOGI("HWCPipe: Product Family: {}", get_product_family_name(gpu.get_product_id().get_gpu_family()));
LOGI("HWCPipe: Product Family: {}", get_product_family_name(gpu.get_gpu_family()));
LOGI("HWCPipe: Number of Cores: {}", gpu.num_shader_cores());
LOGI("HWCPipe: Bus Width: {}", gpu.bus_width());
}
Expand Down
2 changes: 1 addition & 1 deletion third_party/hwcpipe

0 comments on commit 9af783a

Please sign in to comment.