From 5ade6c9c35a8a2149605dd04b2bcc0714d6c95aa Mon Sep 17 00:00:00 2001 From: Felix Kuehling Date: Mon, 20 Aug 2018 20:15:00 -0400 Subject: drm/amdkfd: Report SDMA firmware version in the topology Also save the version in struct kfd_dev so we only need to query it once. Signed-off-by: Philip Yang Signed-off-by: Felix Kuehling Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_topology.c') diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c index fbba1fed447f..54ff7fe03e78 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_topology.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_topology.c @@ -482,11 +482,11 @@ static ssize_t node_show(struct kobject *kobj, struct attribute *attr, (unsigned long long int) 0); sysfs_show_32bit_prop(buffer, "fw_version", - dev->gpu->kfd2kgd->get_fw_version( - dev->gpu->kgd, - KGD_ENGINE_MEC1)); + dev->gpu->mec_fw_version); sysfs_show_32bit_prop(buffer, "capability", dev->node_props.capability); + sysfs_show_32bit_prop(buffer, "sdma_fw_version", + dev->gpu->sdma_fw_version); } return sysfs_show_32bit_prop(buffer, "max_engine_clk_ccompute", -- cgit v1.2.3 stro/allotropia/zeta-7-3'>distro/allotropia/zeta-7-3 main, development code repositoryroot
summaryrefslogtreecommitdiff
blob: aa2f71bb4080d0dc9faa195a95f3eacee42518e8 (plain)
1
<svg height="24" width="24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="85.717094" x2="-44.73362" xlink:href="#d" y1="92.189766" y2="-1.201532"/><linearGradient id="b"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="c"><stop offset="0" stop-color="#fff"/><stop offset=".47368419" stop-color="#fff"/><stop offset=".5892781" stop-color="#f1f1f1"/><stop offset=".80219781" stop-color="#eaeaea"/><stop offset="1" stop-color="#dfdfdf"/></linearGradient><linearGradient id="d"><stop offset="0" stop-color="#b4b4b6"/><stop offset=".5" stop-color="#9c9ca1"/><stop offset="1" stop-color="#cdcdd1"/></linearGradient><linearGradient id="e" gradientUnit