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

/*
 * Copyright 2010 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.
 *
 * Authors: Alex Deucher
 */
#ifndef __SI_REG_H__
#define __SI_REG_H__

/* SI */
#define SI_DC_GPIO_HPD_MASK
#define SI_DC_GPIO_HPD_A
#define SI_DC_GPIO_HPD_EN
#define SI_DC_GPIO_HPD_Y

#define SI_GRPH_CONTROL
#define SI_GRPH_DEPTH(x)
#define SI_GRPH_DEPTH_8BPP
#define SI_GRPH_DEPTH_16BPP
#define SI_GRPH_DEPTH_32BPP
#define SI_GRPH_NUM_BANKS(x)
#define SI_ADDR_SURF_2_BANK
#define SI_ADDR_SURF_4_BANK
#define SI_ADDR_SURF_8_BANK
#define SI_ADDR_SURF_16_BANK
#define SI_GRPH_Z(x)
#define SI_GRPH_BANK_WIDTH(x)
#define SI_ADDR_SURF_BANK_WIDTH_1
#define SI_ADDR_SURF_BANK_WIDTH_2
#define SI_ADDR_SURF_BANK_WIDTH_4
#define SI_ADDR_SURF_BANK_WIDTH_8
#define SI_GRPH_FORMAT(x)
/* 8 BPP */
#define SI_GRPH_FORMAT_INDEXED
/* 16 BPP */
#define SI_GRPH_FORMAT_ARGB1555
#define SI_GRPH_FORMAT_ARGB565
#define SI_GRPH_FORMAT_ARGB4444
#define SI_GRPH_FORMAT_AI88
#define SI_GRPH_FORMAT_MONO16
#define SI_GRPH_FORMAT_BGRA5551
/* 32 BPP */
#define SI_GRPH_FORMAT_ARGB8888
#define SI_GRPH_FORMAT_ARGB2101010
#define SI_GRPH_FORMAT_32BPP_DIG
#define SI_GRPH_FORMAT_8B_ARGB2101010
#define SI_GRPH_FORMAT_BGRA1010102
#define SI_GRPH_FORMAT_8B_BGRA1010102
#define SI_GRPH_FORMAT_RGB111110
#define SI_GRPH_FORMAT_BGR101111
#define SI_GRPH_BANK_HEIGHT(x)
#define SI_ADDR_SURF_BANK_HEIGHT_1
#define SI_ADDR_SURF_BANK_HEIGHT_2
#define SI_ADDR_SURF_BANK_HEIGHT_4
#define SI_ADDR_SURF_BANK_HEIGHT_8
#define SI_GRPH_TILE_SPLIT(x)
#define SI_ADDR_SURF_TILE_SPLIT_64B
#define SI_ADDR_SURF_TILE_SPLIT_128B
#define SI_ADDR_SURF_TILE_SPLIT_256B
#define SI_ADDR_SURF_TILE_SPLIT_512B
#define SI_ADDR_SURF_TILE_SPLIT_1KB
#define SI_ADDR_SURF_TILE_SPLIT_2KB
#define SI_ADDR_SURF_TILE_SPLIT_4KB
#define SI_GRPH_MACRO_TILE_ASPECT(x)
#define SI_ADDR_SURF_MACRO_TILE_ASPECT_1
#define SI_ADDR_SURF_MACRO_TILE_ASPECT_2
#define SI_ADDR_SURF_MACRO_TILE_ASPECT_4
#define SI_ADDR_SURF_MACRO_TILE_ASPECT_8
#define SI_GRPH_ARRAY_MODE(x)
#define SI_GRPH_ARRAY_LINEAR_GENERAL
#define SI_GRPH_ARRAY_LINEAR_ALIGNED
#define SI_GRPH_ARRAY_1D_TILED_THIN1
#define SI_GRPH_ARRAY_2D_TILED_THIN1
#define SI_GRPH_PIPE_CONFIG(x)
#define SI_ADDR_SURF_P2
#define SI_ADDR_SURF_P4_8x16
#define SI_ADDR_SURF_P4_16x16
#define SI_ADDR_SURF_P4_16x32
#define SI_ADDR_SURF_P4_32x32
#define SI_ADDR_SURF_P8_16x16_8x16
#define SI_ADDR_SURF_P8_16x32_8x16
#define SI_ADDR_SURF_P8_32x32_8x16
#define SI_ADDR_SURF_P8_16x32_16x16
#define SI_ADDR_SURF_P8_32x32_16x16
#define SI_ADDR_SURF_P8_32x32_16x32
#define SI_ADDR_SURF_P8_32x64_32x32

#endif