RE: [PATCH] drm/amd/amdgpu: Enable raven gpu_info firmware

2017-05-18 Thread Zhang, Hawking
IIRC It's already in amd-staging-4.9 branch. Anyway, the patch is

Reviewed-by: Hawking Zhang <hawking.zh...@amd.com>

Regards,
Hawking

-Original Message-
From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf Of Tom 
St Denis
Sent: Thursday, May 18, 2017 20:00
To: amd-gfx@lists.freedesktop.org
Cc: StDenis, Tom <tom.stde...@amd.com>
Subject: [PATCH] drm/amd/amdgpu: Enable raven gpu_info firmware

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

Signed-off-by: Tom St Denis <tom.stde...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index d95d4c92da2a..ca9a765385de 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -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
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


Re: [PATCH] drm/amd/amdgpu: Enable raven gpu_info firmware

2017-05-18 Thread Tom St Denis

On 18/05/17 10:07 AM, Zhang, Hawking wrote:

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

Reviewed-by: Hawking Zhang 


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 
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.

Signed-off-by: Alex Deucher 

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


Tom
___
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[PATCH] drm/amd/amdgpu: Enable raven gpu_info firmware

2017-05-18 Thread Tom St Denis
Add CHIP_RAVEN to the list of ASICs that have
gpu_info firmware.

Signed-off-by: Tom St Denis 
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index d95d4c92da2a..ca9a765385de 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -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
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx