amdkfd: Display MEC fw version in topology node
authorOded Gabbay <oded.gabbay@amd.com>
Sun, 9 Nov 2014 10:46:56 +0000 (12:46 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Sun, 9 Nov 2014 10:46:56 +0000 (12:46 +0200)
commitf1386fbc2bc9e316c3f58ef9463f03002eb41346
tree5c67b5a3fca3661f8abe5d33bed58a4751df20d4
parentf7694323b44edb6ef690cffd97fcb9055f60677e
amdkfd: Display MEC fw version in topology node

This patch displays the firmware version of the microcode that is currently
running in the MEC.
This is needed for the HSA RT, so it could differentiate its behavior based on
fw version. e.g. workarounds for bugs in fw

v2: Send the KGD_ENGINE_MEC1 as a parameter to the get_fw_version()

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c