Commit d522d9cc authored by Thomas Reim's avatar Thomas Reim Committed by Dave Airlie

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: default avatarThomas Reim <reimth@gmail.com>
Reviewed-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Acked-by: default avatarStephen Michaels <Stephen.Micheals@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent e384fab8
...@@ -704,8 +704,9 @@ int radeon_device_init(struct radeon_device *rdev, ...@@ -704,8 +704,9 @@ int radeon_device_init(struct radeon_device *rdev,
rdev->gpu_lockup = false; rdev->gpu_lockup = false;
rdev->accel_working = false; rdev->accel_working = false;
DRM_INFO("initializing kernel modesetting (%s 0x%04X:0x%04X).\n", DRM_INFO("initializing kernel modesetting (%s 0x%04X:0x%04X 0x%04X:0x%04X).\n",
radeon_family_name[rdev->family], pdev->vendor, pdev->device); radeon_family_name[rdev->family], pdev->vendor, pdev->device,
pdev->subsystem_vendor, pdev->subsystem_device);
/* mutex initialization are all done here so we /* mutex initialization are all done here so we
* can recall function without having locking issues */ * can recall function without having locking issues */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment