drm/radeon/kms: add dpm support for btc (v3)
[deliverable/linux.git] / drivers / gpu / drm / radeon / radeon_ucode.h
CommitLineData
138e4e16
AD
1/*
2 * Copyright 2012 Advanced Micro Devices, Inc.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
13 *
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
21 *
22 */
23#ifndef __RADEON_UCODE_H__
24#define __RADEON_UCODE_H__
25
26/* CP */
27#define R600_PFP_UCODE_SIZE 576
28#define R600_PM4_UCODE_SIZE 1792
29#define R700_PFP_UCODE_SIZE 848
30#define R700_PM4_UCODE_SIZE 1360
31#define EVERGREEN_PFP_UCODE_SIZE 1120
32#define EVERGREEN_PM4_UCODE_SIZE 1376
33#define CAYMAN_PFP_UCODE_SIZE 2176
34#define CAYMAN_PM4_UCODE_SIZE 2176
35
36/* RLC */
37#define R600_RLC_UCODE_SIZE 768
38#define R700_RLC_UCODE_SIZE 1024
39#define EVERGREEN_RLC_UCODE_SIZE 768
40#define CAYMAN_RLC_UCODE_SIZE 1024
41#define ARUBA_RLC_UCODE_SIZE 1536
42
43/* MC */
44#define BTC_MC_UCODE_SIZE 6024
45#define CAYMAN_MC_UCODE_SIZE 6037
46
66229b20
AD
47/* SMC */
48#define RV770_SMC_UCODE_START 0x0100
49#define RV770_SMC_UCODE_SIZE 0x410d
50#define RV770_SMC_INT_VECTOR_START 0xffc0
51#define RV770_SMC_INT_VECTOR_SIZE 0x0040
52
53#define RV730_SMC_UCODE_START 0x0100
54#define RV730_SMC_UCODE_SIZE 0x412c
55#define RV730_SMC_INT_VECTOR_START 0xffc0
56#define RV730_SMC_INT_VECTOR_SIZE 0x0040
57
58#define RV710_SMC_UCODE_START 0x0100
59#define RV710_SMC_UCODE_SIZE 0x3f1f
60#define RV710_SMC_INT_VECTOR_START 0xffc0
61#define RV710_SMC_INT_VECTOR_SIZE 0x0040
62
63#define RV740_SMC_UCODE_START 0x0100
64#define RV740_SMC_UCODE_SIZE 0x41c5
65#define RV740_SMC_INT_VECTOR_START 0xffc0
66#define RV740_SMC_INT_VECTOR_SIZE 0x0040
67
dc50ba7f
AD
68#define CEDAR_SMC_UCODE_START 0x0100
69#define CEDAR_SMC_UCODE_SIZE 0x5d50
70#define CEDAR_SMC_INT_VECTOR_START 0xffc0
71#define CEDAR_SMC_INT_VECTOR_SIZE 0x0040
72
73#define REDWOOD_SMC_UCODE_START 0x0100
74#define REDWOOD_SMC_UCODE_SIZE 0x5f0a
75#define REDWOOD_SMC_INT_VECTOR_START 0xffc0
76#define REDWOOD_SMC_INT_VECTOR_SIZE 0x0040
77
78#define JUNIPER_SMC_UCODE_START 0x0100
79#define JUNIPER_SMC_UCODE_SIZE 0x5f1f
80#define JUNIPER_SMC_INT_VECTOR_START 0xffc0
81#define JUNIPER_SMC_INT_VECTOR_SIZE 0x0040
82
83#define CYPRESS_SMC_UCODE_START 0x0100
84#define CYPRESS_SMC_UCODE_SIZE 0x61f7
85#define CYPRESS_SMC_INT_VECTOR_START 0xffc0
86#define CYPRESS_SMC_INT_VECTOR_SIZE 0x0040
87
6596afd4
AD
88#define BARTS_SMC_UCODE_START 0x0100
89#define BARTS_SMC_UCODE_SIZE 0x6107
90#define BARTS_SMC_INT_VECTOR_START 0xffc0
91#define BARTS_SMC_INT_VECTOR_SIZE 0x0040
92
93#define TURKS_SMC_UCODE_START 0x0100
94#define TURKS_SMC_UCODE_SIZE 0x605b
95#define TURKS_SMC_INT_VECTOR_START 0xffc0
96#define TURKS_SMC_INT_VECTOR_SIZE 0x0040
97
98#define CAICOS_SMC_UCODE_START 0x0100
99#define CAICOS_SMC_UCODE_SIZE 0x5fbd
100#define CAICOS_SMC_INT_VECTOR_START 0xffc0
101#define CAICOS_SMC_INT_VECTOR_SIZE 0x0040
102
138e4e16 103#endif
This page took 0.027954 seconds and 5 git commands to generate.