diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-01-11 15:33:13 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-27 10:49:17 -0400 |
commit | 138e4e16f0e1d7dee8e6d0534147e15c0a3d94d5 (patch) | |
tree | 759165cd4605e8fa482bdaa19ee3ea6e3ddcb5e3 /drivers/gpu/drm/radeon/radeon_ucode.h | |
parent | 29a152218980fee821da952cb4edea2e3231ee0c (diff) |
drm/radeon/kms: move ucode defines to a separate header
Avoids confusion and duplication.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_ucode.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_ucode.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_ucode.h b/drivers/gpu/drm/radeon/radeon_ucode.h new file mode 100644 index 000000000000..d2642b01578a --- /dev/null +++ b/drivers/gpu/drm/radeon/radeon_ucode.h | |||
@@ -0,0 +1,47 @@ | |||
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 | |||
47 | #endif | ||