Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e39ab90 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu: also print the pci revision when printing the pci ids



The driver makes use of this information so print if to aid in
debugging.

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarSamuel Li <samuel.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 34b5f6a6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1388,9 +1388,9 @@ int amdgpu_device_init(struct amdgpu_device *adev,
	adev->audio_endpt_rreg = &amdgpu_block_invalid_rreg;
	adev->audio_endpt_wreg = &amdgpu_block_invalid_wreg;

	DRM_INFO("initializing kernel modesetting (%s 0x%04X:0x%04X 0x%04X:0x%04X).\n",
	DRM_INFO("initializing kernel modesetting (%s 0x%04X:0x%04X 0x%04X:0x%04X 0x%02X).\n",
		 amdgpu_asic_name[adev->asic_type], pdev->vendor, pdev->device,
		pdev->subsystem_vendor, pdev->subsystem_device);
		 pdev->subsystem_vendor, pdev->subsystem_device, pdev->revision);

	/* mutex initialization are all done here so we
	 * can recall function without having locking issues */