]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add query device id and revision id into system info entry at CGS
authorHuang Rui <ray.huang@amd.com>
Tue, 12 Jul 2016 05:54:05 +0000 (13:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:37:12 +0000 (14:37 -0400)
commit3c087cd25bfd099928c11611b441e227798e4788
treec2270d0f59fb92e286fbc259e7565347ca1c74f0
parentb231ff4ee3b2cd471910119e1526f13a4702ca53
drm/amdgpu: add query device id and revision id into system info entry at CGS

This patch adds device id and revision into system info entry at CGS,
it's able to get PCI device id and revision id from amdgpu, it might
get more info in future.

PCI device id will be also used on powerplay part at current.

Suggested-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
drivers/gpu/drm/amd/include/cgs_common.h