| .. | .. |
|---|
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * |
|---|
| 4 | | - * (C) COPYRIGHT 2020-2021 ARM Limited. All rights reserved. |
|---|
| 4 | + * (C) COPYRIGHT 2020-2022 ARM Limited. All rights reserved. |
|---|
| 5 | 5 | * |
|---|
| 6 | 6 | * This program is free software and is provided to you under the terms of the |
|---|
| 7 | 7 | * GNU General Public License version 2 as published by the Free Software |
|---|
| .. | .. |
|---|
| 26 | 26 | #include <mali_kbase.h> |
|---|
| 27 | 27 | #include <mali_kbase_config_defaults.h> |
|---|
| 28 | 28 | #include <linux/clk.h> |
|---|
| 29 | +#include <linux/pm_opp.h> |
|---|
| 29 | 30 | #include <asm/div64.h> |
|---|
| 30 | 31 | #include "backend/gpu/mali_kbase_clk_rate_trace_mgr.h" |
|---|
| 31 | 32 | |
|---|
| .. | .. |
|---|
| 46 | 47 | * Return: Pointer to clk trace ops if supported or NULL. |
|---|
| 47 | 48 | */ |
|---|
| 48 | 49 | static struct kbase_clk_rate_trace_op_conf * |
|---|
| 49 | | -get_clk_rate_trace_callbacks(struct kbase_device *kbdev __maybe_unused) |
|---|
| 50 | +get_clk_rate_trace_callbacks(__maybe_unused struct kbase_device *kbdev) |
|---|
| 50 | 51 | { |
|---|
| 51 | 52 | /* base case */ |
|---|
| 52 | 53 | struct kbase_clk_rate_trace_op_conf *callbacks = |
|---|