aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-04-14 13:16:35 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-04-18 11:18:35 -0400
commitfe0d36e03a08a6f88e5cb9f81c3b819f797e8024 (patch)
treea8f69926e2f0e5bb21c9155c6548eba9c2e8ccfb /drivers/gpu
parent85cc88f02eb0ecf44493c1b2ebb6f206cd5fc321 (diff)
drm/radeon: print pci revision as well as pci ids on driver load
The pci revision id is useful in debugging certain things as it's part of how SKUs are defined on newer asics. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/radeon_device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index 4fd1a961012d..193261fee6e1 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1305,9 +1305,9 @@ int radeon_device_init(struct radeon_device *rdev,
1305 } 1305 }
1306 rdev->fence_context = fence_context_alloc(RADEON_NUM_RINGS); 1306 rdev->fence_context = fence_context_alloc(RADEON_NUM_RINGS);
1307 1307
1308 DRM_INFO("initializing kernel modesetting (%s 0x%04X:0x%04X 0x%04X:0x%04X).\n", 1308 DRM_INFO("initializing kernel modesetting (%s 0x%04X:0x%04X 0x%04X:0x%04X 0x%02X).\n",
1309 radeon_family_name[rdev->family], pdev->vendor, pdev->device, 1309 radeon_family_name[rdev->family], pdev->vendor, pdev->device,
1310 pdev->subsystem_vendor, pdev->subsystem_device); 1310 pdev->subsystem_vendor, pdev->subsystem_device, pdev->revision);
1311 1311
1312 /* mutex initialization are all done here so we 1312 /* mutex initialization are all done here so we
1313 * can recall function without having locking issues */ 1313 * can recall function without having locking issues */