linux/drivers/gpu/drm/radeon/ni_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 __NI_REG_H__
#define __NI_REG_H__

/* northern islands - DCE5 */

#define NI_INPUT_GAMMA_CONTROL
#define NI_GRPH_INPUT_GAMMA_MODE(x)
#define NI_INPUT_GAMMA_USE_LUT
#define NI_INPUT_GAMMA_BYPASS
#define NI_INPUT_GAMMA_SRGB_24
#define NI_INPUT_GAMMA_XVYCC_222
#define NI_OVL_INPUT_GAMMA_MODE(x)

#define NI_PRESCALE_GRPH_CONTROL
#define NI_GRPH_PRESCALE_BYPASS

#define NI_PRESCALE_OVL_CONTROL
#define NI_OVL_PRESCALE_BYPASS

#define NI_INPUT_CSC_CONTROL
#define NI_INPUT_CSC_GRPH_MODE(x)
#define NI_INPUT_CSC_BYPASS
#define NI_INPUT_CSC_PROG_COEFF
#define NI_INPUT_CSC_PROG_SHARED_MATRIXA
#define NI_INPUT_CSC_OVL_MODE(x)

#define NI_OUTPUT_CSC_CONTROL
#define NI_OUTPUT_CSC_GRPH_MODE(x)
#define NI_OUTPUT_CSC_BYPASS
#define NI_OUTPUT_CSC_TV_RGB
#define NI_OUTPUT_CSC_YCBCR_601
#define NI_OUTPUT_CSC_YCBCR_709
#define NI_OUTPUT_CSC_PROG_COEFF
#define NI_OUTPUT_CSC_PROG_SHARED_MATRIXB
#define NI_OUTPUT_CSC_OVL_MODE(x)

#define NI_DEGAMMA_CONTROL
#define NI_GRPH_DEGAMMA_MODE(x)
#define NI_DEGAMMA_BYPASS
#define NI_DEGAMMA_SRGB_24
#define NI_DEGAMMA_XVYCC_222
#define NI_OVL_DEGAMMA_MODE(x)
#define NI_ICON_DEGAMMA_MODE(x)
#define NI_CURSOR_DEGAMMA_MODE(x)

#define NI_GAMUT_REMAP_CONTROL
#define NI_GRPH_GAMUT_REMAP_MODE(x)
#define NI_GAMUT_REMAP_BYPASS
#define NI_GAMUT_REMAP_PROG_COEFF
#define NI_GAMUT_REMAP_PROG_SHARED_MATRIXA
#define NI_GAMUT_REMAP_PROG_SHARED_MATRIXB
#define NI_OVL_GAMUT_REMAP_MODE(x)

#define NI_REGAMMA_CONTROL
#define NI_GRPH_REGAMMA_MODE(x)
#define NI_REGAMMA_BYPASS
#define NI_REGAMMA_SRGB_24
#define NI_REGAMMA_XVYCC_222
#define NI_REGAMMA_PROG_A
#define NI_REGAMMA_PROG_B
#define NI_OVL_REGAMMA_MODE(x)

#define NI_DP_MSE_LINK_TIMING
#define NI_DP_MSE_LINK_FRAME
#define NI_DP_MSE_LINK_LINE

#define NI_DP_MSE_MISC_CNTL
#define NI_DP_MSE_BLANK_CODE
#define NI_DP_MSE_TIMESTAMP_MODE
#define NI_DP_MSE_ZERO_ENCODER

#define NI_DP_MSE_RATE_CNTL
#define NI_DP_MSE_RATE_Y(x)
#define NI_DP_MSE_RATE_X(x)

#define NI_DP_MSE_RATE_UPDATE

#define NI_DP_MSE_SAT0
#define NI_DP_MSE_SAT_SRC0(x)
#define NI_DP_MSE_SAT_SLOT_COUNT0(x)
#define NI_DP_MSE_SAT_SRC1(x)
#define NI_DP_MSE_SAT_SLOT_COUNT1(x)

#define NI_DP_MSE_SAT1

#define NI_DP_MSE_SAT2

#define NI_DP_MSE_SAT_UPDATE
#define NI_DP_MSE_SAT_UPDATE_MASK
#define NI_DP_MSE_16_MTP_KEEPOUT

#define NI_DIG_BE_CNTL
#define NI_DIG_FE_SOURCE_SELECT(x)
#define NI_DIG_FE_DIG_MODE(x)
#define NI_DIG_MODE_DP_SST
#define NI_DIG_MODE_LVDS
#define NI_DIG_MODE_TMDS_DVI
#define NI_DIG_MODE_TMDS_HDMI
#define NI_DIG_MODE_DP_MST
#define NI_DIG_HPD_SELECT(x)

#define NI_DIG_FE_CNTL
#define NI_DIG_SOURCE_SELECT(x)
#define NI_DIG_STEREOSYNC_SELECT(x)
#define NI_DIG_STEREOSYNC_GATE_EN(x)
#define NI_DIG_DUAL_LINK_ENABLE(x)
#define NI_DIG_SWAP(x)
#define NI_DIG_SYMCLK_FE_ON
#endif