Reviewed-by: Pierre Moreau
On 02:54 pm - Oct 31 2016, Samuel Pitoiset wrote:
> Signed-off-by: Samuel Pitoiset
> ---
> .../drivers/nouveau/nvc0/nvc0_query_hw_metric.c| 50
> +++---
> 1 file changed, 7 insertions(+), 43 deletions(-)
>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c
> b/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c
> index 2f85c32..36534ba 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_metric.c
> @@ -257,24 +257,6 @@ static const struct nvc0_hw_metric_query_cfg
> *sm21_hw_metric_queries[] =
>
> /* Compute capability 3.0 (GK104/GK106/GK107) */
> static const struct nvc0_hw_metric_query_cfg
> -sm30_achieved_occupancy =
> -{
> - .type= NVC0_HW_METRIC_QUERY_ACHIEVED_OCCUPANCY,
> - .queries[0] = _SM(ACTIVE_WARPS),
> - .queries[1] = _SM(ACTIVE_CYCLES),
> - .num_queries = 2,
> -};
> -
> -static const struct nvc0_hw_metric_query_cfg
> -sm30_branch_efficiency =
> -{
> - .type= NVC0_HW_METRIC_QUERY_BRANCH_EFFICIENCY,
> - .queries[0] = _SM(BRANCH),
> - .queries[1] = _SM(DIVERGENT_BRANCH),
> - .num_queries = 2,
> -};
> -
> -static const struct nvc0_hw_metric_query_cfg
> sm30_inst_issued =
> {
> .type= NVC0_HW_METRIC_QUERY_INST_ISSUED,
> @@ -284,15 +266,6 @@ sm30_inst_issued =
> };
>
> static const struct nvc0_hw_metric_query_cfg
> -sm30_inst_per_wrap =
> -{
> - .type= NVC0_HW_METRIC_QUERY_INST_PER_WRAP,
> - .queries[0] = _SM(INST_EXECUTED),
> - .queries[1] = _SM(WARPS_LAUNCHED),
> - .num_queries = 2,
> -};
> -
> -static const struct nvc0_hw_metric_query_cfg
> sm30_inst_replay_overhead =
> {
> .type= NVC0_HW_METRIC_QUERY_INST_REPLAY_OVERHEAD,
> @@ -332,15 +305,6 @@ sm30_issue_slot_utilization =
> };
>
> static const struct nvc0_hw_metric_query_cfg
> -sm30_ipc =
> -{
> - .type= NVC0_HW_METRIC_QUERY_IPC,
> - .queries[0] = _SM(INST_EXECUTED),
> - .queries[1] = _SM(ACTIVE_CYCLES),
> - .num_queries = 2,
> -};
> -
> -static const struct nvc0_hw_metric_query_cfg
> sm30_shared_replay_overhead =
> {
> .type= NVC0_HW_METRIC_QUERY_SHARED_REPLAY_OVERHEAD,
> @@ -352,29 +316,29 @@ sm30_shared_replay_overhead =
>
> static const struct nvc0_hw_metric_query_cfg *sm30_hw_metric_queries[] =
> {
> - _achieved_occupancy,
> - _branch_efficiency,
> + _achieved_occupancy,
> + _branch_efficiency,
> _inst_issued,
> - _inst_per_wrap,
> + _inst_per_wrap,
> _inst_replay_overhead,
> _issued_ipc,
> _issue_slots,
> _issue_slot_utilization,
> - _ipc,
> + _ipc,
> _shared_replay_overhead,
> };
>
> /* Compute capability 3.5 (GK110) */
> static const struct nvc0_hw_metric_query_cfg *sm35_hw_metric_queries[] =
> {
> - _achieved_occupancy,
> + _achieved_occupancy,
> _inst_issued,
> - _inst_per_wrap,
> + _inst_per_wrap,
> _inst_replay_overhead,
> _issued_ipc,
> _inst_issued,
> _issue_slot_utilization,
> - _ipc,
> + _ipc,
> _shared_replay_overhead,
> };
>
> --
> 2.10.1
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
signature.asc
Description: PGP signature
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev