aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
index 69543d4eef34..3c613c66d47d 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
@@ -936,6 +936,13 @@ static int gfx_v8_0_init_microcode(struct amdgpu_device *adev)
936 goto out; 936 goto out;
937 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data; 937 cp_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.me_fw->data;
938 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); 938 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version);
939
940 /* chain ib ucode isn't formal released, just disable it by far
941 * TODO: when ucod ready we should use ucode version to judge if
942 * chain-ib support or not.
943 */
944 adev->virt.chained_ib_support = false;
945
939 adev->gfx.me_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version); 946 adev->gfx.me_feature_version = le32_to_cpu(cp_hdr->ucode_feature_version);
940 947
941 snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_ce.bin", chip_name); 948 snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_ce.bin", chip_name);