/* * Copyright 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) 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. */ #ifndef CIK_REGS_H #define CIK_REGS_H /* if PTR32, these are the bases for scratch and lds */ #define PRIVATE_BASE(x) … #define SHARED_BASE(x) … #define PTR32 … #define ALIGNMENT_MODE(x) … #define SH_MEM_ALIGNMENT_MODE_UNALIGNED … #define DEFAULT_MTYPE(x) … #define APE1_MTYPE(x) … /* valid for both DEFAULT_MTYPE and APE1_MTYPE */ #define MTYPE_CACHED_NV … #define MTYPE_CACHED … #define MTYPE_NONCACHED … #define DEFAULT_CP_HQD_PERSISTENT_STATE … #define PRELOAD_REQ … #define MQD_CONTROL_PRIV_STATE_EN … #define DEFAULT_MIN_IB_AVAIL_SIZE … #define IB_ATC_EN … #define QUANTUM_EN … #define QUANTUM_SCALE_1MS … #define QUANTUM_DURATION(x) … #define RPTR_BLOCK_SIZE(x) … #define MIN_AVAIL_SIZE(x) … #define DEFAULT_RPTR_BLOCK_SIZE … #define DEFAULT_MIN_AVAIL_SIZE … #define PQ_ATC_EN … #define NO_UPDATE_RPTR … #define DOORBELL_OFFSET(x) … #define DOORBELL_EN … #define PRIV_STATE … #define KMD_QUEUE … #define AQL_ENABLE … #define GRBM_GFX_INDEX … #endif