drm/amdkfd: Report SDMA firmware version in the topology
authorFelix Kuehling <Felix.Kuehling@amd.com>
Tue, 21 Aug 2018 00:15:00 +0000 (20:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 02:09:14 +0000 (21:09 -0500)
commit5ade6c9c35a8a2149605dd04b2bcc0714d6c95aa
tree6979e8555bd463ffa917608505ad2220678a34b8
parent13cd51a8f1ff77972912e42f30015a0c14e2e47d
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 <Philip.Yang@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_topology.c