Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A amd
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,279
    • Issues 1,279
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • drm
  • amd
  • Issues
  • #1019

Closed
Open
Created Jan 14, 2020 by ernsteiswuerfel@ernsteiswuerfel

[r600/Turks] kmemleak reports a memleak running X on a HD6670 (kernel 5.4.11)

Running a Radeon HD 6670 on my Talos II I get kernel messages like this some time after booting:

Jan 14 18:00:30 T1000 kernel: radeon_dp_aux_transfer_native: 116 callbacks suppressed

Some time later I got memory leaks like these reported by kmemleak:

unreferenced object 0xc0000007a2745100 (size 128):
  comm "Xorg", pid 560, jiffies 4302317359 (age 2789.854s)
  hex dump (first 32 bytes):
    c0 00 00 07 d8 64 1e 88 c0 08 00 00 16 32 25 00  .....d.......2%.
    00 00 16 8e 3f 69 00 1b c0 00 00 07 d3 15 b7 58  ....?i.........X
  backtrace:
    [<00000000fe467700>] .radeon_fence_emit+0x3c/0x280 [radeon]
    [<000000008f0c347c>] .evergreen_copy_dma+0x394/0x480 [radeon]
    [<000000007a2c1808>] .radeon_move_blit.isra.0+0xb4/0x1b0 [radeon]
    [<0000000058ee52eb>] .radeon_bo_move+0xd4/0x220 [radeon]
    [<000000001472dc09>] .ttm_bo_handle_move_mem+0x168/0x4a0 [ttm]
    [<00000000067ee61a>] .ttm_bo_validate+0x1d4/0x210 [ttm]
    [<000000001a96df32>] .radeon_bo_fault_reserve_notify+0x154/0x210 [radeon]
    [<00000000a11651a0>] .ttm_bo_vm_fault+0xc8/0x7a0 [ttm]
    [<000000009c2ec63c>] .radeon_ttm_fault+0x64/0xc0 [radeon]
    [<00000000c7597465>] .__do_fault+0x58/0x120
    [<00000000f1259226>] .__handle_mm_fault+0x10ac/0x1990
    [<000000003babe1b2>] .handle_mm_fault+0x1e8/0x3b0
    [<00000000e82ab3e1>] .do_page_fault+0x20c/0xf00
    [<0000000058caa801>] handle_page_fault+0x10/0x30

Apart from that the HD6670 runs fine with no visual glitches on the desktop or at browsing.

# inxi -b
System:    Kernel: 5.4.11-gentoo ppc64 bits: 64 Console: tty 0 
           Distro: Gentoo Base System release 2.6 
Machine:   Type: PowerPC Device System: T2P9D01 REV 1.01 details: PowerNV T2P9D01 REV 1.01 
           rev: 2.2 (pvr 004e 1202) 
CPU:       32-Core: POWER9 altivec supported type: MCP speed: 3800 MHz min/max: 2154/3800 MHz 
Graphics:  Device-1: AMD Turks XT [Radeon HD 6670/7670] driver: radeon v: kernel 
           Device-2: ASPEED Graphics Family driver: N/A 
           Display: server: X.org 1.20.6 driver: radeon tty: 104x53 
           Message: Advanced graphics data unavailable in console for root. 
Network:   Device-1: Broadcom and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe driver: tg3 
           Device-2: Broadcom and subsidiaries NetXtreme BCM5719 Gigabit Ethernet PCIe driver: tg3 

kmemleak02.txt dmesg_5411_p9.txt config_5411_p9 Xorg.0.log

Edited Jan 14, 2020 by ernsteiswuerfel
Assignee
Assign to
Time tracking