projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fbc508
)
drm/amdgpu: set new revision id for 10.3.7 GC
author
Prike Liang
<Prike.Liang@amd.com>
Mon, 10 Jan 2022 05:56:24 +0000
(13:56 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 16 Feb 2022 22:30:03 +0000
(17:30 -0500)
Add new revision ID for GC 10.3.7 and set
cg/pg flags.
Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/nv.c
b/drivers/gpu/drm/amd/amdgpu/nv.c
index
5e9ab31
..
66adc4f
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/
drivers/gpu/drm/amd/amdgpu/nv.c
@@
-907,6
+907,11
@@
static int nv_common_early_init(void *handle)
adev->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x82;
break;
+ case IP_VERSION(10, 3, 7):
+ adev->cg_flags = 0;
+ adev->pg_flags = 0;
+ adev->external_rev_id = adev->rev_id + 0x01;
+ break;
default:
/* FIXME: not supported yet */
return -EINVAL;