linux/drivers/gpu/drm/panfrost/panfrost_devfreq.c

// SPDX-License-Identifier: GPL-2.0
/* Copyright 2019 Collabora ltd. */

#include <linux/clk.h>
#include <linux/devfreq.h>
#include <linux/devfreq_cooling.h>
#include <linux/nvmem-consumer.h>
#include <linux/platform_device.h>
#include <linux/pm_opp.h>

#include "panfrost_device.h"
#include "panfrost_devfreq.h"

static void panfrost_devfreq_update_utilization(struct panfrost_devfreq *pfdevfreq)
{}

static int panfrost_devfreq_target(struct device *dev, unsigned long *freq,
				   u32 flags)
{}

static void panfrost_devfreq_reset(struct panfrost_devfreq *pfdevfreq)
{}

static int panfrost_devfreq_get_dev_status(struct device *dev,
					   struct devfreq_dev_status *status)
{}

static struct devfreq_dev_profile panfrost_devfreq_profile =;

static int panfrost_read_speedbin(struct device *dev)
{}

int panfrost_devfreq_init(struct panfrost_device *pfdev)
{}

void panfrost_devfreq_fini(struct panfrost_device *pfdev)
{}

void panfrost_devfreq_resume(struct panfrost_device *pfdev)
{}

void panfrost_devfreq_suspend(struct panfrost_device *pfdev)
{}

void panfrost_devfreq_record_busy(struct panfrost_devfreq *pfdevfreq)
{}

void panfrost_devfreq_record_idle(struct panfrost_devfreq *pfdevfreq)
{}