drm/amdgpu: factor out the AMDGPU_INFO_FW_VERSION case branch into amdgpu_firmware_info
authorHuang Rui <ray.huang@amd.com>
Sun, 12 Jun 2016 07:44:44 +0000 (15:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:51:33 +0000 (14:51 -0400)
commit000cab9a61ea9e8dc42144e39a6eb8333a402b86
tree562c610fd09ee824cf1f4fae3cee78f4312e88f6
parent8db6f83bef165bc47d1f1cd56afdec37b47917d1
drm/amdgpu: factor out the AMDGPU_INFO_FW_VERSION case branch into amdgpu_firmware_info

The new amdgpu_firmware_info function will be used on amdgpu firmware
version debugfs.

Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
include/uapi/drm/amdgpu_drm.h