drm/radeon: Add implementation of get_fw_version
authorOded Gabbay <oded.gabbay@amd.com>
Sun, 9 Nov 2014 10:45:11 +0000 (12:45 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Sun, 9 Nov 2014 10:45:11 +0000 (12:45 +0200)
commitf7694323b44edb6ef690cffd97fcb9055f60677e
tree9cbf0b4db732818623b11e0c49356d1c2ed469db
parent61466c651fc2faffe89000e9d42661f6ab81d8e4
drm/radeon: Add implementation of get_fw_version

This patch implements a new interface that was added to the kfd-->kgd interface.
The new interface function retrieves the firmware version that is currently
in use by a specific engine. The firmware was uploaded to the engine by the
radeon driver.

v2: Returns the fw version of the specific engine, as passed into the function
by a new parameter

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