amd-staging-drm-next, CIK apu, [TTM] Erroneous page count. Leaking pages. [BISECTED]

Koenig, Christian Christian.Koenig at amd.com
Thu Apr 11 17:31:27 UTC 2019


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:
> 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 <christian.koenig at amd.com>
> 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.
>      
>      Signed-off-by: Christian König <christian.koenig at amd.com>
>      Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
>      Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
>      Reviewed-by: Huang Rui <ray.huang at amd.com>
>
> Any help is appreciated.
> Thanks,
> Przemek.



More information about the amd-gfx mailing list