aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorThomas Reim <reimth@gmail.com>2011-07-29 10:28:59 -0400
committerDave Airlie <airlied@redhat.com>2011-08-04 09:40:24 -0400
commitd522d9cc5bdd41214084383fc3e6d882f6916a78 (patch)
treef2431df3317186c234899a991fbbfde3b80dfb14 /drivers/gpu
parente384fab8c6f3ca88600bcb2ebdf0eb2f90864fab (diff)
drm/radeon: Log Subsystem Vendor and Device Information
Log PCI subsystem vendor and subsystem device ID in addition to PCI vendor and device ID during kernel mode initialisation. This helps to better identify radeon devices of third-party vendors, e. g. for bug analysis. Tested for kernel 2.6.35, 2.6.38 and 3.0 on Asus M2A-VM HDMI board Cc: <stable@kernel.org> Signed-off-by: Thomas Reim <reimth@gmail.com> Reviewed-by: Alex Deucher <alexdeucher@gmail.com> Acked-by: Stephen Michaels <Stephen.Micheals@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/radeon_device.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index 7cfaa7e2f3b5..440e6ecccc40 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -704,8 +704,9 @@ int radeon_device_init(struct radeon_device *rdev,
704 rdev->gpu_lockup = false; 704 rdev->gpu_lockup = false;
705 rdev->accel_working = false; 705 rdev->accel_working = false;
706 706
707 DRM_INFO("initializing kernel modesetting (%s 0x%04X:0x%04X).\n", 707 DRM_INFO("initializing kernel modesetting (%s 0x%04X:0x%04X 0x%04X:0x%04X).\n",
708 radeon_family_name[rdev->family], pdev->vendor, pdev->device); 708 radeon_family_name[rdev->family], pdev->vendor, pdev->device,
709 pdev->subsystem_vendor, pdev->subsystem_device);
709 710
710 /* mutex initialization are all done here so we 711 /* mutex initialization are all done here so we
711 * can recall function without having locking issues */ 712 * can recall function without having locking issues */