]> 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)
commit7e9bc2121fa3b972d883e54ef2558a99c665eb8f
treec2270d0f59fb92e286fbc259e7565347ca1c74f0
parent3ea42ff45ad46c2341c5ae3c2e25edc24624ac7d
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