<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 3/11/21 12:32 PM, Koenig, Christian
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:MN2PR12MB3775316F45FA7329F375D5F483909@MN2PR12MB3775.namprd12.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div style="font-family: "segoe ui westeuropean",
        "segoe ui", helvetica, arial, sans-serif; font-size:
        12pt; color: rgb(0, 0, 0);">
        We are investigating a similar problem with radeon.</div>
      <div style="font-family: "segoe ui westeuropean",
        "segoe ui", helvetica, arial, sans-serif; font-size:
        12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: "segoe ui westeuropean",
        "segoe ui", helvetica, arial, sans-serif; font-size:
        12pt; color: rgb(0, 0, 0);">
        So far no idea what's going wrong since it doesn't seem to
        happen with amdgpu.</div>
      <div style="font-family: "segoe ui westeuropean",
        "segoe ui", helvetica, arial, sans-serif; font-size:
        12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: "segoe ui westeuropean",
        "segoe ui", helvetica, arial, sans-serif; font-size:
        12pt; color: rgb(0, 0, 0);">
        If you have an idea please speak up :)</div>
    </blockquote>
    <p>Sure. No idea ATM. Was just fiddling a bit with vmwgfx to
      experiment with the fix for the huge page-table-entry issue.<br>
    </p>
    <p>/Thomas</p>
    <p><br>
    </p>
    <blockquote type="cite"
cite="mid:MN2PR12MB3775316F45FA7329F375D5F483909@MN2PR12MB3775.namprd12.prod.outlook.com">
      <div style="font-family: "segoe ui westeuropean",
        "segoe ui", helvetica, arial, sans-serif; font-size:
        12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: "segoe ui westeuropean",
        "segoe ui", helvetica, arial, sans-serif; font-size:
        12pt; color: rgb(0, 0, 0);">
        Thanks,</div>
      <div style="font-family: "segoe ui westeuropean",
        "segoe ui", helvetica, arial, sans-serif; font-size:
        12pt; color: rgb(0, 0, 0);">
        Christian.</div>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
          face="Calibri, sans-serif" color="#000000"><b>Von:</b> Thomas
          Hellström (Intel) <a class="moz-txt-link-rfc2396E" href="mailto:thomas_os@shipmail.org"><thomas_os@shipmail.org></a><br>
          <b>Gesendet:</b> Donnerstag, 11. März 2021 11:46<br>
          <b>An:</b> Daniel Vetter <a class="moz-txt-link-rfc2396E" href="mailto:daniel.vetter@ffwll.ch"><daniel.vetter@ffwll.ch></a>;
          Koenig, Christian <a class="moz-txt-link-rfc2396E" href="mailto:Christian.Koenig@amd.com"><Christian.Koenig@amd.com></a>;
          <a class="moz-txt-link-abbreviated" href="mailto:linux-graphics-maintainer@vmware.com">linux-graphics-maintainer@vmware.com</a>
          <a class="moz-txt-link-rfc2396E" href="mailto:linux-graphics-maintainer@vmware.com"><linux-graphics-maintainer@vmware.com></a><br>
          <b>Cc:</b> DRI Development
          <a class="moz-txt-link-rfc2396E" href="mailto:dri-devel@lists.freedesktop.org"><dri-devel@lists.freedesktop.org></a><br>
          <b>Betreff:</b> vmwgfx leaking bo pins?</font>
        <div> </div>
      </div>
      <div class="BodyFragment"><font size="2"><span
            style="font-size:11pt;">
            <div class="PlainText">Hi,<br>
              <br>
              I tried latest drm-fixes today and saw a lot of these:
              Fallout from ttm <br>
              rework?<br>
              <br>
              /Thomas<br>
              <br>
              [  298.404788] WARNING: CPU: 1 PID: 3839 at <br>
              drivers/gpu/drm/ttm/ttm_bo.c:512
              ttm_bo_release+0x2b5/0x300 [ttm]<br>
              [  298.404795] Modules linked in: nls_utf8 isofs rfcomm
              tun bridge stp <br>
              llc ip6table_nat ip6table_mangle ip6table_raw
              ip6table_security <br>
              iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 libcrc32c
              nf_defrag_ipv4 <br>
              iptable_mangle iptable_raw iptable_security ip_set
              nfnetlink <br>
              ip6table_filter ip6_tables iptable_filter cmac bnep
              vsock_loopback <br>
              vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport
              vsock <br>
              snd_seq_midi snd_seq_midi_event intel_rapl_msr snd_ens1371
              <br>
              snd_ac97_codec ac97_bus vmw_balloon intel_rapl_common
              snd_seq rapl <br>
              snd_pcm btusb btrtl btbcm btintel bluetooth joydev
              gameport snd_timer <br>
              snd_rawmidi snd_seq_device rfkill snd ecdh_generic
              vmw_vmci ecc <br>
              soundcore i2c_piix4 auth_rpcgss sunrpc ip_tables vmwgfx
              drm_kms_helper <br>
              cec ttm e1000 crct10dif_pclmul crc32_pclmul crc32c_intel <br>
              ghash_clmulni_intel drm mptspi serio_raw
              scsi_transport_spi mptscsih <br>
              mptbase ata_generic pata_acpi uas usb_storage fuse<br>
              [  298.404837] CPU: 1 PID: 3839 Comm: thunderbird Tainted:
              G        <br>
              W         5.12.0-rc2+ #42<br>
              [  298.404839] Hardware name: VMware, Inc. VMware Virtual
              Platform/440BX <br>
              Desktop Reference Platform, BIOS 6.00 07/29/2019<br>
              [  298.404840] RIP: 0010:ttm_bo_release+0x2b5/0x300 [ttm]<br>
              [  298.404845] Code: e8 a0 f3 35 ce e9 da fd ff ff 49 8b
              7e 90 b9 30 75 <br>
              00 00 31 d2 be 01 00 00 00 e8 c6 17 36 ce 49 8b 46 e0 eb
              9e 48 89 e8 eb <br>
              99 <0f> 0b 41 c7 86 94 00 00 00 00 00 00 00 49 8d 76
              08 31 d2 4c 89 ef<br>
              [  298.404847] RSP: 0018:ffffb24a43ef3bd0 EFLAGS: 00010202<br>
              [  298.404848] RAX: 0000000000000001 RBX: 0000000000000000
              RCX: <br>
              0000000000000001<br>
              [  298.404850] RDX: 0000000000000001 RSI: 0000000000000246
              RDI: <br>
              ffffffffc03c50e8<br>
              [  298.404851] RBP: ffff9ad4429f2620 R08: 0000000000000001
              R09: <br>
              ffff9ad4429f2000<br>
              [  298.404852] R10: ffff9ad48664e090 R11: 0000000000000000
              R12: <br>
              ffff9ad4e71371d0<br>
              [  298.404852] R13: ffff9ad4e7137000 R14: ffff9ad4e7137168
              R15: <br>
              ffff9ad48710f4c0<br>
              [  298.404854] FS:  00007fc6d9ae4780(0000)
              GS:ffff9ad576e40000(0000) <br>
              knlGS:0000000000000000<br>
              [  298.404855] CS:  0010 DS: 0000 ES: 0000 CR0:
              0000000080050033<br>
              [  298.404857] CR2: 00007fc6c6740000 CR3: 00000001a4eac004
              CR4: <br>
              00000000003706e0<br>
              [  298.404864] Call Trace:<br>
              [  298.404866]  vmw_resource_release+0x131/0x1f0 [vmwgfx]<br>
              [  298.404878] 
              vmw_context_cotables_unref.isra.0+0x6f/0xa0 [vmwgfx]<br>
              [  298.404891]  vmw_resource_release+0x16a/0x1f0 [vmwgfx]<br>
              [  298.404901]  vmw_user_context_base_release+0x31/0x50
              [vmwgfx]<br>
              [  298.404912]  ttm_release_base+0x7f/0xc0 [vmwgfx]<br>
              [  298.404922]  ttm_ref_object_release+0xde/0xf0 [vmwgfx]<br>
              [  298.404931]  ttm_ref_object_base_unref+0x8e/0xb0
              [vmwgfx]<br>
              [  298.404940]  ? vmw_dx_context_unbind+0x1e0/0x1e0
              [vmwgfx]<br>
              [  298.404951]  drm_ioctl_kernel+0xaa/0xf0 [drm]<br>
              [  298.404974]  drm_ioctl+0x20f/0x3a0 [drm]<br>
              [  298.404991]  ? vmw_dx_context_unbind+0x1e0/0x1e0
              [vmwgfx]<br>
              [  298.405003]  ? selinux_file_ioctl+0x135/0x230<br>
              [  298.405006]  ? drm_version+0x90/0x90 [drm]<br>
              [  298.405023]  vmw_generic_ioctl+0xab/0x150 [vmwgfx]<br>
              [  298.405033]  __x64_sys_ioctl+0x83/0xb0<br>
              [  298.405035]  do_syscall_64+0x33/0x40<br>
              [  298.405038]  entry_SYSCALL_64_after_hwframe+0x44/0xae<br>
              [  298.405041] RIP: 0033:0x7fc6d9be15db<br>
              [  298.405042] Code: 89 d8 49 8d 3c 1c 48 f7 d8 49 39 c4
              72 b5 e8 1c ff <br>
              ff ff 85 c0 78 ba 4c 89 e0 5b 5d 41 5c c3 f3 0f 1e fa b8
              10 00 00 00 0f <br>
              05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 6d b8 0c 00
              f7 d8 64 89 01 48<br>
              [  298.405044] RSP: 002b:00007ffc8ce6de98 EFLAGS: 00000246
              ORIG_RAX: <br>
              0000000000000010<br>
              [  298.405046] RAX: ffffffffffffffda RBX: 00007ffc8ce6dee0
              RCX: <br>
              00007fc6d9be15db<br>
              [  298.405048] RDX: 00007ffc8ce6dee0 RSI: 0000000040086448
              RDI: <br>
              0000000000000007<br>
              [  298.405049] RBP: 0000000040086448 R08: 0000000000000000
              R09: <br>
              0000000000000000<br>
              [  298.405050] R10: 0000000000000000 R11: 0000000000000246
              R12: <br>
              00007fc6d98e0000<br>
              [  298.405051] R13: 0000000000000007 R14: 00007fc6d98ea3b0
              R15: <br>
              00007fc6c671f800<br>
              [  298.405053] ---[ end trace c628fb3ea8b5aa96 ]---<br>
              <br>
            </div>
          </span></font></div>
    </blockquote>
  </body>
</html>