aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2017-03-03 16:25:23 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:54:41 -0400
commiteb6611135f3b588fd8b4c68ae95a00c78f832382 (patch)
tree6f6c76008ad005f579461a9364614d37061fec97 /drivers/gpu/drm/amd
parent2445b22751a0c039c2d1f35412e45350e847855d (diff)
drm/amdgpu: add psp firmware header info
Defines the header info for the psp firmware. Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
index 39a074980c8c..758f03a1770d 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
@@ -50,6 +50,14 @@ struct smc_firmware_header_v1_0 {
50}; 50};
51 51
52/* version_major=1, version_minor=0 */ 52/* version_major=1, version_minor=0 */
53struct psp_firmware_header_v1_0 {
54 struct common_firmware_header header;
55 uint32_t ucode_feature_version;
56 uint32_t sos_offset_bytes;
57 uint32_t sos_size_bytes;
58};
59
60/* version_major=1, version_minor=0 */
53struct gfx_firmware_header_v1_0 { 61struct gfx_firmware_header_v1_0 {
54 struct common_firmware_header header; 62 struct common_firmware_header header;
55 uint32_t ucode_feature_version; 63 uint32_t ucode_feature_version;
@@ -110,6 +118,7 @@ union amdgpu_firmware_header {
110 struct common_firmware_header common; 118 struct common_firmware_header common;
111 struct mc_firmware_header_v1_0 mc; 119 struct mc_firmware_header_v1_0 mc;
112 struct smc_firmware_header_v1_0 smc; 120 struct smc_firmware_header_v1_0 smc;
121 struct psp_firmware_header_v1_0 psp;
113 struct gfx_firmware_header_v1_0 gfx; 122 struct gfx_firmware_header_v1_0 gfx;
114 struct rlc_firmware_header_v1_0 rlc; 123 struct rlc_firmware_header_v1_0 rlc;
115 struct rlc_firmware_header_v2_0 rlc_v2_0; 124 struct rlc_firmware_header_v2_0 rlc_v2_0;