blob: 8d7de0f36394b5efe794650528b8b238c030f255 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <zircon/device/ioctl.h>
#include <zircon/device/ioctl-wrapper.h>
// Sets the GPU clock freq. source
#define IOCTL_GPU_SET_CLK_FREQ_SOURCE \
IOCTL(IOCTL_KIND_DEFAULT, IOCTL_FAMILY_GPU, 1)
// ssize_t ioctl_gpu_set_freq_source(int fd, uint32_t clk_source)
IOCTL_WRAPPER_IN(ioctl_gpu_set_clk_freq_source, IOCTL_GPU_SET_CLK_FREQ_SOURCE, int32_t);