diff options
| author | 2016-06-19 23:55:14 +0800 | |
|---|---|---|
| committer | 2016-07-15 12:33:10 -0400 | |
| commit | 340efe2898f6ad5a74bbbbf8002f1196ecf1a1bf (patch) | |
| tree | b79ecd9d296d163983cda844205883a36cded2ef /drivers/gpu/drm/amd/include/cgs_common.h | |
| parent | drm/amdgpu: no need load microcode at sdma if powerplay is enabled (diff) | |
| download | linux-dev-340efe2898f6ad5a74bbbbf8002f1196ecf1a1bf.tar.xz linux-dev-340efe2898f6ad5a74bbbbf8002f1196ecf1a1bf.zip | |
drm/amdgpu: add ucode_start_address into cgs_firmware_info
The ucode_start_address would be used on powerplay of iceland.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/cgs_common.h')
| -rw-r--r-- | drivers/gpu/drm/amd/include/cgs_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/cgs_common.h b/drivers/gpu/drm/amd/include/cgs_common.h index 0c8c85d2a2a5..f32af2f2091a 100644 --- a/drivers/gpu/drm/amd/include/cgs_common.h +++ b/drivers/gpu/drm/amd/include/cgs_common.h @@ -160,6 +160,10 @@ struct cgs_firmware_info { uint16_t feature_version; uint32_t image_size; uint64_t mc_addr; + + /* only for smc firmware */ + uint32_t ucode_start_address; + void *kptr; }; |
