linux/drivers/gpu/drm/radeon/r420.c

/*
 * Copyright 2008 Advanced Micro Devices, Inc.
 * Copyright 2008 Red Hat Inc.
 * Copyright 2009 Jerome Glisse.
 *
 * 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.
 *
 * Authors: Dave Airlie
 *          Alex Deucher
 *          Jerome Glisse
 */

#include <linux/debugfs.h>
#include <linux/pci.h>
#include <linux/seq_file.h>
#include <linux/slab.h>

#include <drm/drm_device.h>
#include <drm/drm_file.h>

#include "atom.h"
#include "r100d.h"
#include "r420_reg_safe.h"
#include "r420d.h"
#include "radeon.h"
#include "radeon_asic.h"
#include "radeon_reg.h"

void r420_pm_init_profile(struct radeon_device *rdev)
{}

static void r420_set_reg_safe(struct radeon_device *rdev)
{}

void r420_pipes_init(struct radeon_device *rdev)
{}

u32 r420_mc_rreg(struct radeon_device *rdev, u32 reg)
{}

void r420_mc_wreg(struct radeon_device *rdev, u32 reg, u32 v)
{}

static void r420_debugfs(struct radeon_device *rdev)
{}

static void r420_clock_resume(struct radeon_device *rdev)
{}

static void r420_cp_errata_init(struct radeon_device *rdev)
{}

static void r420_cp_errata_fini(struct radeon_device *rdev)
{}

static int r420_startup(struct radeon_device *rdev)
{}

int r420_resume(struct radeon_device *rdev)
{}

int r420_suspend(struct radeon_device *rdev)
{}

void r420_fini(struct radeon_device *rdev)
{}

int r420_init(struct radeon_device *rdev)
{}

/*
 * Debugfs info
 */
#if defined(CONFIG_DEBUG_FS)
static int r420_debugfs_pipes_info_show(struct seq_file *m, void *unused)
{}

DEFINE_SHOW_ATTRIBUTE();
#endif

void r420_debugfs_pipes_info_init(struct radeon_device *rdev)
{}