linux/drivers/gpu/drm/amd/amdgpu/si_ih.c

/*
 * Copyright 2015 Advanced Micro Devices, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 */

#include <linux/pci.h>

#include "amdgpu.h"
#include "amdgpu_ih.h"
#include "sid.h"
#include "si_ih.h"
#include "oss/oss_1_0_d.h"
#include "oss/oss_1_0_sh_mask.h"

static void si_ih_set_interrupt_funcs(struct amdgpu_device *adev);

static void si_ih_enable_interrupts(struct amdgpu_device *adev)
{}

static void si_ih_disable_interrupts(struct amdgpu_device *adev)
{}

static int si_ih_irq_init(struct amdgpu_device *adev)
{}

static void si_ih_irq_disable(struct amdgpu_device *adev)
{}

static u32 si_ih_get_wptr(struct amdgpu_device *adev,
			  struct amdgpu_ih_ring *ih)
{}

static void si_ih_decode_iv(struct amdgpu_device *adev,
			    struct amdgpu_ih_ring *ih,
			    struct amdgpu_iv_entry *entry)
{}

static void si_ih_set_rptr(struct amdgpu_device *adev,
			   struct amdgpu_ih_ring *ih)
{}

static int si_ih_early_init(void *handle)
{}

static int si_ih_sw_init(void *handle)
{}

static int si_ih_sw_fini(void *handle)
{}

static int si_ih_hw_init(void *handle)
{}

static int si_ih_hw_fini(void *handle)
{}

static int si_ih_suspend(void *handle)
{}

static int si_ih_resume(void *handle)
{}

static bool si_ih_is_idle(void *handle)
{}

static int si_ih_wait_for_idle(void *handle)
{}

static int si_ih_soft_reset(void *handle)
{}

static int si_ih_set_clockgating_state(void *handle,
					  enum amd_clockgating_state state)
{}

static int si_ih_set_powergating_state(void *handle,
					  enum amd_powergating_state state)
{}

static const struct amd_ip_funcs si_ih_ip_funcs =;

static const struct amdgpu_ih_funcs si_ih_funcs =;

static void si_ih_set_interrupt_funcs(struct amdgpu_device *adev)
{}

const struct amdgpu_ip_block_version si_ih_ip_block =;