amd-staging-drm-next, CIK apu, [TTM] Erroneous page count. Leaking pages. [BISECTED]
Hi All,
after today's sync with amd-staging-drm-next branch I have problems with my Mullins APU Netbook.
Kernel log is flooded with "[TTM] Erroneous page count. Leaking pages." message.
Bisected, and it seems that "drm/ttm: fix start page for huge page check in ttm_put_pages()" commit is causing this.
git bisect log:
git bisect start
# good: [c2af9f9e84183a4dbcb53a74abbe3362dc181682] drm/amd/display: fix cursor black issue
git bisect good c2af9f9e84183a4dbcb53a74abbe3362dc181682
# bad: [b07c394a327fc9e435ee03288584c111fa73d963] drm/amd/display: fix is odm head pipe logic
git bisect bad b07c394a327fc9e435ee03288584c111fa73d963
# bad: [367fa96ad66fef31bf73916cf4949c475f42563f] drm/amd/display: use proper formula to calculate bandwidth from timing
git bisect bad 367fa96ad66fef31bf73916cf4949c475f42563f
# good: [94275c6d27deebbce5055e1bb1959986051b93f2] drm/amdgpu: Add a check to avoid panic because of unexpected irqs
git bisect good 94275c6d27deebbce5055e1bb1959986051b93f2
# bad: [8198a32b1211c6f625623bae22629cf852531097] drm/amd/display: Initialize stream_update with memset
git bisect bad 8198a32b1211c6f625623bae22629cf852531097
# bad: [e16858a7e6e7dc00345703682d490b96f2883b99] drm/ttm: fix start page for huge page check in ttm_put_pages()
git bisect bad e16858a7e6e7dc00345703682d490b96f2883b99
# good: [b414dfd1f975bbf4c9ee4600f9bedcf77bae84ed] drm/ttm: fix out-of-bounds read in ttm_put_pages() v2
git bisect good b414dfd1f975bbf4c9ee4600f9bedcf77bae84ed
# first bad commit: [e16858a7e6e7dc00345703682d490b96f2883b99] drm/ttm: fix start page for huge page check in ttm_put_pages()
e16858a7e6e7dc00345703682d490b96f2883b99 is the first bad commit commit e16858a7e6e7dc00345703682d490b96f2883b99
Author: Christian König <[email protected]> Date: Tue Apr 2 09:29:35 2019 +0200
drm/ttm: fix start page for huge page check in ttm_put_pages()
The first page entry is always the same with itself.
Any help is appreciated.
Thanks,
Przemek.
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Yeah, that is a known issue and already fixed in amd-staging-drm-next.
You just need to wait for the public mirror to update.
Christian.
Am 11.04.19 um 18:53 schrieb Przemek Socha:
Quoted 44 lines
Hi All,
after today's sync with amd-staging-drm-next branch I have problems with my Mullins APU Netbook.
Kernel log is flooded with "[TTM] Erroneous page count. Leaking pages." message.Bisected, and it seems that "drm/ttm: fix start page for huge page check in
ttm_put_pages()" commit is causing this.git bisect log:
git bisect start
# good: [c2af9f9e84183a4dbcb53a74abbe3362dc181682] drm/amd/display: fix cursor black issue
git bisect goodc2af9f9e84183a4dbcb53a74abbe3362dc181682
# bad: [b07c394a327fc9e435ee03288584c111fa73d963] drm/amd/display: fix is odm head pipe logic
git bisect badb07c394a327fc9e435ee03288584c111fa73d963
# bad: [367fa96ad66fef31bf73916cf4949c475f42563f] drm/amd/display: use proper formula to calculate bandwidth from timing
git bisect bad367fa96ad66fef31bf73916cf4949c475f42563f
# good: [94275c6d27deebbce5055e1bb1959986051b93f2] drm/amdgpu: Add a check to avoid panic because of unexpected irqs
git bisect good94275c6d27deebbce5055e1bb1959986051b93f2
# bad: [8198a32b1211c6f625623bae22629cf852531097] drm/amd/display: Initializestream_updatewith memset
git bisect bad8198a32b1211c6f625623bae22629cf852531097
# bad: [e16858a7e6e7dc00345703682d490b96f2883b99] drm/ttm: fix start page for huge page check inttm_put_pages()
git bisect bade16858a7e6e7dc00345703682d490b96f2883b99
# good: [b414dfd1f975bbf4c9ee4600f9bedcf77bae84ed] drm/ttm: fix out-of-bounds read inttm_put_pages()v2
git bisect goodb414dfd1f975bbf4c9ee4600f9bedcf77bae84ed# first bad commit: [e16858a7e6e7dc00345703682d490b96f2883b99] drm/ttm: fix start page for huge page check in ttm_put_pages()
e16858a7e6e7dc00345703682d490b96f2883b99is the first bad commit commite16858a7e6e7dc00345703682d490b96f2883b99Author: Christian König <[email protected]> Date: Tue Apr 2 09:29:35 2019 +0200drm/ttm: fix start page for huge page check in
ttm_put_pages()The first page entry is always the same with itself.
Quoted 8 lines
Signed-off-by Christian König <[email protected]>Reviewed-by Michel Dänzer <[email protected]>Reviewed-by Junwei Zhang <[email protected]>Reviewed-by Huang Rui <[email protected]>Any help is appreciated.
Thanks,
Przemek.
_______________________________________________
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): 97bc37a4-f6fc-30f8-c6ff-554fa04cb03e-5C7GfCeVMHo@public.gmane.org
Dnia czwartek, 11 kwietnia 2019 19:31:27 CEST piszesz:
Quoted 11 lines
Yeah, that is a known issue and already fixed in amd-staging-drm-next.
You just need to wait for the public mirror to update.
Christian.
Am 11.04.19 um 18:53 schrieb Przemek Socha:
Quoted 3 lines
Hi All,
after today's sync with amd-staging-drm-next branch I have problems with my
Mullins APU Netbook.
Quoted 7 lines
Quoted 7 lines
Kernel log is flooded with "[TTM] Erroneous page count. Leaking pages." message.
Bisected, and it seems that "drm/ttm: fix start page for huge page check in
ttm_put_pages()" commit is causing this.
Quoted 7 lines
Quoted 7 lines
git bisect log:
git bisect start
# good: [c2af9f9e84183a4dbcb53a74abbe3362dc181682] drm/amd/display: fix cursor
black issue
Quoted 3 lines
Quoted 3 lines
git bisect good
c2af9f9e84183a4dbcb53a74abbe3362dc181682
# bad: [b07c394a327fc9e435ee03288584c111fa73d963] drm/amd/display: fix is odm
head pipe logic
Quoted 3 lines
Quoted 3 lines
git bisect bad
b07c394a327fc9e435ee03288584c111fa73d963
# bad: [367fa96ad66fef31bf73916cf4949c475f42563f] drm/amd/display: use proper
formula to calculate bandwidth from timing
Quoted 3 lines
Quoted 3 lines
git bisect bad
367fa96ad66fef31bf73916cf4949c475f42563f
# good: [94275c6d27deebbce5055e1bb1959986051b93f2] drm/amdgpu: Add a check to
avoid panic because of unexpected irqs
Quoted 3 lines
Quoted 3 lines
git bisect good
94275c6d27deebbce5055e1bb1959986051b93f2# bad: [8198a32b1211c6f625623bae22629cf852531097] drm/amd/display:
Initialize
stream_update with memset
Quoted 3 lines
Quoted 3 lines
git bisect bad
8198a32b1211c6f625623bae22629cf852531097
# bad: [e16858a7e6e7dc00345703682d490b96f2883b99] drm/ttm: fix start page for
huge page check in ttm_put_pages()
Quoted 3 lines
Quoted 3 lines
git bisect bad
e16858a7e6e7dc00345703682d490b96f2883b99# good: [b414dfd1f975bbf4c9ee4600f9bedcf77bae84ed] drm/ttm: fix out-of-bounds
read in ttm_put_pages() v2
Quoted 3 lines
Quoted 3 lines
git bisect good
b414dfd1f975bbf4c9ee4600f9bedcf77bae84ed# first bad commit: [e16858a7e6e7dc00345703682d490b96f2883b99] drm/ttm: fix
start page for huge page check in ttm_put_pages()
Quoted 21 lines
Quoted 21 lines
e16858a7e6e7dc00345703682d490b96f2883b99is the first bad commit commite16858a7e6e7dc00345703682d490b96f2883b99Author: Christian König <[email protected]> Date: Tue Apr 2 09:29:35 2019 +0200drm/ttm: fix start page for huge page check in
ttm_put_pages()The first page entry is always the same with itself.
Signed-off-by Christian König <[email protected]>Reviewed-by Michel Dänzer <[email protected]>Reviewed-by Junwei Zhang <[email protected]>Reviewed-by Huang Rui <[email protected]>
Quoted 5 lines
Quoted 3 lines
Any help is appreciated.
Thanks,
Przemek.
Thanks, and sorry about all the fuss.
Przemek.
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx