build broken on drm-next
Subsystems (2)
StDenis, Tom
Acked-by Alex DeucherHi,
This commit
commit e421c656beefa1044f65cf50d7a7455df60cd703
Refs: v4.20-rc3-530-ge421c656beef
Author: Tiecheng Zhou <[email protected]>
AuthorDate: Fri Dec 7 09:11:35 2018 +0800
Commit: Tiecheng Zhou <[email protected]>
CommitDate: Mon Dec 10 11:14:27 2018 +0800
drm/amdgpu: bypass RLC init under sriov for Tonga
RLC will go wrong in soft_reset under sriov
Workaroound: only need to init RLC csb, and skip RLC stop, reset, start
this is because host-driver has already done full
initialization on RLC
Causes a build error on amd-staging-drm-next:
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function ‘gfx_v8_0_rlc_resume’:drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:4071:6: error: implicit declaration of function ‘amdgpu_sriov’; did you mean ‘amdgpu_sriov_vf’? [-Werror=implicit-function-declaration]
if (amdgpu_sriov(adev)) {
^~~~~~~~~~~~
amdgpu_sriov_vf
CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v3_0.o
CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v4_0.o
CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.occ1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:293:drivers/gpu/drm/amd/amdgpu/gfx_v8_0.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:518: drivers/gpu/drm/amd/amdgpu] Error 2
make[2]: *** [scripts/Makefile.build:518: drivers/gpu/drm] Error 2 make[1]: *** [scripts/Makefile.build:518: drivers/gpu] Error 2
make: *** [Makefile:1060: drivers] Error 2
Tom
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): a097ffb3-2902-73ac-d9ac-1cfaeb8fe642-5C7GfCeVMHo@public.gmane.org
Jack already have a patch to fix this issue.
Thanks,
Ray
Quoted 62 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of StDenis, Tom
Sent: Monday, December 10, 2018 8:07 PM
To: Zhou, Tiecheng <[email protected]>; amd-gfx mailing list <amd- [email protected]>
Cc: Deucher, Alexander <[email protected]>
Subject: build broken on drm-nextHi,
This commit
commit
e421c656beefa1044f65cf50d7a7455df60cd703Refs: v4.20-rc3-530-ge421c656beef
Author: Tiecheng Zhou <[email protected]>
AuthorDate: Fri Dec 7 09:11:35 2018 +0800
Commit: Tiecheng Zhou <[email protected]>
CommitDate: Mon Dec 10 11:14:27 2018 +0800
drm/amdgpu: bypass RLC init under sriov for Tonga
RLC will go wrong in
soft_resetunder sriovWorkaroound: only need to init RLC csb, and skip RLC stop, reset, start
this is because host-driver has already done full initialization on RLCSigned-off-by Tiecehng Zhou <[email protected]>Acked-by Alex Deucher <[email protected]>Causes a build error on amd-staging-drm-next:
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function ‘gfx_v8_0_rlc_resume’:drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:4071:6: error: implicit declaration of function ‘amdgpu_sriov’; did you mean ‘amdgpu_sriov_vf’? [-Werror=implicit-function-declaration]if (amdgpu_sriov(adev)) { ^~~~~~~~~~~~ amdgpu_sriov_vf CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v3_0.o CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v4_0.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.occ1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:293:drivers/gpu/drm/amd/amdgpu/gfx_v8_0.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:518:drivers/gpu/drm/amd/amdgpu] Error 2
make[2]: *** [scripts/Makefile.build:518:drivers/gpu/drm] Error 2 make[1]: *** [scripts/Makefile.build:518:drivers/gpu] Error 2
make: *** [Makefile:1060: drivers] Error 2
Quoted 5 lines
Tom
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
--- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +1 -1
@@ -4068,7 +4068,7 @@ static void gfx_v8_0_rlc_start(struct amdgpu_device *adev)static int gfx_v8_0_rlc_resume (struct amdgpu_device *adev) { -if (amdgpu_sriov (adev)) { +if (amdgpu_sriov_vf (adev)) {gfx_v8_0_init_csb (adev);return 0 ; }
--
2.7.4
_______________________________________________
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
A message that is not in the archive (sent off-list or not yet received): BY2PR12MB004008D011F3D09ED10050A5ECA50-K//h7OWB4q7Zvl48JdS6+wdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org
Thanks to Jack and Ray,
I'll pay more attention.
Tiecheng
-----Original Message-----
From: Huang, Ray <[email protected]>
Sent: Monday, December 10, 2018 8:15 PM
To: StDenis, Tom <[email protected]>; Zhou, Tiecheng <[email protected]>; amd-gfx mailing list <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Gui, Jack <[email protected]>
Subject: RE: build broken on drm-next
Jack already have a patch to fix this issue.
Thanks,
Ray
Quoted 63 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of StDenis, Tom
Sent: Monday, December 10, 2018 8:07 PM
To: Zhou, Tiecheng <[email protected]>; amd-gfx mailing list <amd- [email protected]>
Cc: Deucher, Alexander <[email protected]>
Subject: build broken on drm-nextHi,
This commit
commit
e421c656beefa1044f65cf50d7a7455df60cd703Refs: v4.20-rc3-530-ge421c656beef
Author: Tiecheng Zhou <[email protected]>
AuthorDate: Fri Dec 7 09:11:35 2018 +0800
Commit: Tiecheng Zhou <[email protected]>
CommitDate: Mon Dec 10 11:14:27 2018 +0800
drm/amdgpu: bypass RLC init under sriov for Tonga
RLC will go wrong in
soft_resetunder sriovWorkaroound: only need to init RLC csb, and skip RLC stop, reset, start
this is because host-driver has already done full
initialization on RLCSigned-off-by Tiecehng Zhou <[email protected]>Acked-by Alex Deucher <[email protected]>Causes a build error on amd-staging-drm-next:
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function ‘gfx_v8_0_rlc_resume’:drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:4071:6: error: implicit declaration of function ‘amdgpu_sriov’; did you mean ‘amdgpu_sriov_vf’? [-Werror=implicit-function-declaration]if (amdgpu_sriov(adev)) { ^~~~~~~~~~~~ amdgpu_sriov_vf CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v3_0.o CC [M] drivers/gpu/drm/amd/amdgpu/sdma_v4_0.o CC [M] drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.occ1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:293:drivers/gpu/drm/amd/amdgpu/gfx_v8_0.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:518:drivers/gpu/drm/amd/amdgpu] Error 2
make[2]: *** [scripts/Makefile.build:518:drivers/gpu/drm] Error 2 make[1]: *** [scripts/Makefile.build:518:drivers/gpu] Error 2
make: *** [Makefile:1060: drivers] Error 2
Quoted 5 lines
Tom
_______________________________________________
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