linux/drivers/gpu/drm/radeon/r520d.h

/*
 * 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
 */
#ifndef __R520D_H__
#define __R520D_H__

/* Registers */
#define R_0000F8_CONFIG_MEMSIZE
#define S_0000F8_CONFIG_MEMSIZE(x)
#define G_0000F8_CONFIG_MEMSIZE(x)
#define C_0000F8_CONFIG_MEMSIZE
#define R_000134_HDP_FB_LOCATION
#define S_000134_HDP_FB_START(x)
#define G_000134_HDP_FB_START(x)
#define C_000134_HDP_FB_START
#define R_0007C0_CP_STAT
#define S_0007C0_MRU_BUSY(x)
#define G_0007C0_MRU_BUSY(x)
#define C_0007C0_MRU_BUSY
#define S_0007C0_MWU_BUSY(x)
#define G_0007C0_MWU_BUSY(x)
#define C_0007C0_MWU_BUSY
#define S_0007C0_RSIU_BUSY(x)
#define G_0007C0_RSIU_BUSY(x)
#define C_0007C0_RSIU_BUSY
#define S_0007C0_RCIU_BUSY(x)
#define G_0007C0_RCIU_BUSY(x)
#define C_0007C0_RCIU_BUSY
#define S_0007C0_CSF_PRIMARY_BUSY(x)
#define G_0007C0_CSF_PRIMARY_BUSY(x)
#define C_0007C0_CSF_PRIMARY_BUSY
#define S_0007C0_CSF_INDIRECT_BUSY(x)
#define G_0007C0_CSF_INDIRECT_BUSY(x)
#define C_0007C0_CSF_INDIRECT_BUSY
#define S_0007C0_CSQ_PRIMARY_BUSY(x)
#define G_0007C0_CSQ_PRIMARY_BUSY(x)
#define C_0007C0_CSQ_PRIMARY_BUSY
#define S_0007C0_CSQ_INDIRECT_BUSY(x)
#define G_0007C0_CSQ_INDIRECT_BUSY(x)
#define C_0007C0_CSQ_INDIRECT_BUSY
#define S_0007C0_CSI_BUSY(x)
#define G_0007C0_CSI_BUSY(x)
#define C_0007C0_CSI_BUSY
#define S_0007C0_CSF_INDIRECT2_BUSY(x)
#define G_0007C0_CSF_INDIRECT2_BUSY(x)
#define C_0007C0_CSF_INDIRECT2_BUSY
#define S_0007C0_CSQ_INDIRECT2_BUSY(x)
#define G_0007C0_CSQ_INDIRECT2_BUSY(x)
#define C_0007C0_CSQ_INDIRECT2_BUSY
#define S_0007C0_GUIDMA_BUSY(x)
#define G_0007C0_GUIDMA_BUSY(x)
#define C_0007C0_GUIDMA_BUSY
#define S_0007C0_VIDDMA_BUSY(x)
#define G_0007C0_VIDDMA_BUSY(x)
#define C_0007C0_VIDDMA_BUSY
#define S_0007C0_CMDSTRM_BUSY(x)
#define G_0007C0_CMDSTRM_BUSY(x)
#define C_0007C0_CMDSTRM_BUSY
#define S_0007C0_CP_BUSY(x)
#define G_0007C0_CP_BUSY(x)
#define C_0007C0_CP_BUSY
#define R_000E40_RBBM_STATUS
#define S_000E40_CMDFIFO_AVAIL(x)
#define G_000E40_CMDFIFO_AVAIL(x)
#define C_000E40_CMDFIFO_AVAIL
#define S_000E40_HIRQ_ON_RBB(x)
#define G_000E40_HIRQ_ON_RBB(x)
#define C_000E40_HIRQ_ON_RBB
#define S_000E40_CPRQ_ON_RBB(x)
#define G_000E40_CPRQ_ON_RBB(x)
#define C_000E40_CPRQ_ON_RBB
#define S_000E40_CFRQ_ON_RBB(x)
#define G_000E40_CFRQ_ON_RBB(x)
#define C_000E40_CFRQ_ON_RBB
#define S_000E40_HIRQ_IN_RTBUF(x)
#define G_000E40_HIRQ_IN_RTBUF(x)
#define C_000E40_HIRQ_IN_RTBUF
#define S_000E40_CPRQ_IN_RTBUF(x)
#define G_000E40_CPRQ_IN_RTBUF(x)
#define C_000E40_CPRQ_IN_RTBUF
#define S_000E40_CFRQ_IN_RTBUF(x)
#define G_000E40_CFRQ_IN_RTBUF(x)
#define C_000E40_CFRQ_IN_RTBUF
#define S_000E40_CF_PIPE_BUSY(x)
#define G_000E40_CF_PIPE_BUSY(x)
#define C_000E40_CF_PIPE_BUSY
#define S_000E40_ENG_EV_BUSY(x)
#define G_000E40_ENG_EV_BUSY(x)
#define C_000E40_ENG_EV_BUSY
#define S_000E40_CP_CMDSTRM_BUSY(x)
#define G_000E40_CP_CMDSTRM_BUSY(x)
#define C_000E40_CP_CMDSTRM_BUSY
#define S_000E40_E2_BUSY(x)
#define G_000E40_E2_BUSY(x)
#define C_000E40_E2_BUSY
#define S_000E40_RB2D_BUSY(x)
#define G_000E40_RB2D_BUSY(x)
#define C_000E40_RB2D_BUSY
#define S_000E40_RB3D_BUSY(x)
#define G_000E40_RB3D_BUSY(x)
#define C_000E40_RB3D_BUSY
#define S_000E40_VAP_BUSY(x)
#define G_000E40_VAP_BUSY(x)
#define C_000E40_VAP_BUSY
#define S_000E40_RE_BUSY(x)
#define G_000E40_RE_BUSY(x)
#define C_000E40_RE_BUSY
#define S_000E40_TAM_BUSY(x)
#define G_000E40_TAM_BUSY(x)
#define C_000E40_TAM_BUSY
#define S_000E40_TDM_BUSY(x)
#define G_000E40_TDM_BUSY(x)
#define C_000E40_TDM_BUSY
#define S_000E40_PB_BUSY(x)
#define G_000E40_PB_BUSY(x)
#define C_000E40_PB_BUSY
#define S_000E40_TIM_BUSY(x)
#define G_000E40_TIM_BUSY(x)
#define C_000E40_TIM_BUSY
#define S_000E40_GA_BUSY(x)
#define G_000E40_GA_BUSY(x)
#define C_000E40_GA_BUSY
#define S_000E40_CBA2D_BUSY(x)
#define G_000E40_CBA2D_BUSY(x)
#define C_000E40_CBA2D_BUSY
#define S_000E40_RBBM_HIBUSY(x)
#define G_000E40_RBBM_HIBUSY(x)
#define C_000E40_RBBM_HIBUSY
#define S_000E40_SKID_CFBUSY(x)
#define G_000E40_SKID_CFBUSY(x)
#define C_000E40_SKID_CFBUSY
#define S_000E40_VAP_VF_BUSY(x)
#define G_000E40_VAP_VF_BUSY(x)
#define C_000E40_VAP_VF_BUSY
#define S_000E40_GUI_ACTIVE(x)
#define G_000E40_GUI_ACTIVE(x)
#define C_000E40_GUI_ACTIVE


#define R_000004_MC_FB_LOCATION
#define S_000004_MC_FB_START(x)
#define G_000004_MC_FB_START(x)
#define C_000004_MC_FB_START
#define S_000004_MC_FB_TOP(x)
#define G_000004_MC_FB_TOP(x)
#define C_000004_MC_FB_TOP
#define R_000005_MC_AGP_LOCATION
#define S_000005_MC_AGP_START(x)
#define G_000005_MC_AGP_START(x)
#define C_000005_MC_AGP_START
#define S_000005_MC_AGP_TOP(x)
#define G_000005_MC_AGP_TOP(x)
#define C_000005_MC_AGP_TOP
#define R_000006_AGP_BASE
#define S_000006_AGP_BASE_ADDR(x)
#define G_000006_AGP_BASE_ADDR(x)
#define C_000006_AGP_BASE_ADDR
#define R_000007_AGP_BASE_2
#define S_000007_AGP_BASE_ADDR_2(x)
#define G_000007_AGP_BASE_ADDR_2(x)
#define C_000007_AGP_BASE_ADDR_2

#endif