drm/amd: Add get_fw_version to kfd-->kgd interface
authorOded Gabbay <oded.gabbay@amd.com>
Sun, 9 Nov 2014 10:42:22 +0000 (12:42 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Sun, 9 Nov 2014 10:42:22 +0000 (12:42 +0200)
commit61466c651fc2faffe89000e9d42661f6ab81d8e4
tree925d30b72ea5a044125d57b6361cd3e7af9b7f73
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
drm/amd: Add get_fw_version to kfd-->kgd interface

This patch adds a new interface to the kfd-->kgd interface.
The new interface function retrieves the firmware version that is currently in
use by the MEC engine. The firmware was uploaded to the MEC engine by the kgd
(radeon).

v2: Added parameter of engine type to interface function

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