/*
* OSS_2_4 Register documentation
*
* Copyright (C) 2014 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) 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.
*/
#ifndef OSS_2_4_ENUM_H
#define OSS_2_4_ENUM_H
typedef enum IH_CLIENT_ID {
DC_IH_SRC_ID_START = 0x1,
DC_IH_SRC_ID_END = 0x1f,
VGA_IH_SRC_ID_START = 0x20,
VGA_IH_SRC_ID_END = 0x27,
CAP_IH_SRC_ID_START = 0x28,
CAP_IH_SRC_ID_END = 0x2f,
VIP_IH_SRC_ID_START = 0x30,
VIP_IH_SRC_ID_END = 0x3f,
ROM_IH_SRC_ID_START = 0x40,
ROM_IH_SRC_ID_END = 0x5d,
BIF_IH_SRC_ID_START = 0x5e,
SAM_IH_SRC_ID_START = 0x5f,
SRBM_IH_SRC_ID_START = 0x60,
SRBM_IH_SRC_ID_END = 0x67,
UVD_IH_SRC_ID_START = 0x72,
UVD_IH_SRC_ID_END = 0x85,
VMC_IH_SRC_ID_START = 0x86,
VMC_IH_SRC_ID_END = 0x8f,
RLC_IH_SRC_ID_START = 0x90,
RLC_IH_SRC_ID_END = 0xf3,
PDMA_IH_SRC_ID_START = 0xf4,
PDMA_IH_SRC_ID_END = 0xf7,
CG_IH_SRC_ID_START = 0xf8,
CG_IH_SRC_ID_END = 0xff,
} IH_CLIENT_ID;
typedef enum IH_PERF_SEL {
IH_PERF_SEL_CYCLE = 0x0,
IH_PERF_SEL_IDLE = 0x1,
IH_PERF_SEL_INPUT_IDLE = 0x2,
IH_PERF_SEL_CLIENT0_IH_STALL = 0x3,
IH_PERF_SEL_CLIENT1_IH_STALL = 0x4,
IH_PERF_SEL_CLIENT2_IH_STALL = 0x5,
IH_PERF_SEL_CLIENT3_IH_STALL = 0x6,
IH_PERF_SEL_CLIENT4_IH_STALL = 0x7,
IH_PERF_SEL_CLIENT5_IH_STALL = 0x8,
IH_PERF_SEL_CLIENT6_IH_STALL = 0x9,
IH_PERF_SEL_CLIENT7_IH_STALL = 0xa,
IH_PERF_SEL_RB_IDLE = 0xb,
IH_PERF_SEL_RB_FULL = 0xc,
IH_PERF_SEL_RB_OVERFLOW = 0xd,
IH_PERF_SEL_RB_WPTR_WRITEBACK = 0xe,
IH_PERF_SEL_RB_WPTR_WRAP = 0xf,
IH_PERF_SEL_RB_RPTR_WRAP = 0x10,
IH_PERF_SEL_MC_WR_IDLE = 0x11,
IH_PERF_SEL_MC_WR_COUNT = 0x12,
IH_PERF_SEL_MC_WR_STALL = 0x13,
IH_PERF_SEL_MC_WR_CLEAN_PENDING = 0x14,
IH_PERF_SEL_MC_WR_CLEAN_STALL = 0x15,
IH_PERF_SEL_BIF_RISING = 0x16,
IH_PERF_SEL_BIF_FALLING = 0x17,
IH_PERF_SEL_CLIENT8_IH_STALL = 0x18,
IH_PERF_SEL_CLIENT9_IH_STALL = 0x19,
IH_PERF_SEL_CLIENT10_IH_STALL = 0x1a,
IH_PERF_SEL_CLIENT11_IH_STALL = 0x1b,