Skip to contentSkip to conversation

drm/amd/amdgpu: Enable raven gpu_info firmware

PATCH In review Tom St Denis 2 participants 3 messages May 18, 2017 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/amdgpu: Enable raven gpu_info firmware

Add CHIP_RAVEN to the list of ASICs that have
gpu_info firmware.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +3 -0
index d95d4c92da2a..ca9a765385de 100644
@@ -1428,6 +1428,9 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev)
 #endif
 	default:
 		return 0;
+	case CHIP_RAVEN:
+		chip_name = "raven";
+		break;
 	case CHIP_VEGA10:
 		chip_name = "vega10";
 		break;
Signature · 6 lines
2.12.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by Hawking Zhang
#2 lore raw
In reply to a message not in the archive

IIRC It's already in amd-staging-4.9 branch. Anyway, the patch is

Regards,
Hawking

-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Tom St Denis
Sent: Thursday, May 18, 2017 20:00
To: [email protected]
Cc: StDenis, Tom <[email protected]>
Subject: [PATCH] drm/amd/amdgpu: Enable raven gpu_info firmware

Add CHIP_RAVEN to the list of ASICs that have gpu_info firmware.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +3 -1
index d95d4c92da2a..ca9a765385de 100644
@@ -1428,6 +1428,9 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev)  #endif
 	default:
 		return 0;
+	case CHIP_RAVEN:
+		chip_name = "raven";
+		break;
 	case CHIP_VEGA10:
 		chip_name = "vega10";
 		break;
--

2.12.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#4 lore raw
In reply to a message not in the archive
Quoted 3 lines · Hawking

IIRC It's already in amd-staging-4.9 branch. Anyway, the patch is

It must have gone missing when Alex (Deucher) made the 4.11 branch.

Thanks for the R-b but perhaps we should cherry-pick the patch from 4.9 if it's small enough.

Looks like it is simply this commit

commit 3b51519cc8ebb6a25a86522eccc9708afd4dc33b

Author: Alex Deucher <[email protected]>
Date:   Tue May 9 12:27:35 2017 -0400

drm/amdgpu: add raven gpu_info support

Add support for parsing the gpu info table on raven. This is required to get the gpu config data for raven.

I'll cherry-pick that over and push it out momentarily (since Alex is on vacation).

Tom
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx