Skip to contentSkip to conversation

drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo

REGRESSION In review Nicolai Stange 11 participants 21 messages May 17, 2017 – May 23, 2017 10 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I'm experiencing a boot failure on next-20170515:

  BUG: unable to handle kernel NULL pointer dereference at 00000000000007cb
  IP: radeon_driver_load_kms+0xeb/0x230 [radeon]
  PGD 0 
  P4D 0 
  
  Oops: 0000 [#1] SMP
  Modules linked in: amdkfd amd_iommu_v2 i915(+) radeon(+) i2c_algo_bit drm_kms_helper ttm e1000e drm sdhci_pci sdhci_acpi ptp sdhci crc32c_intel serio_raw mmc_core pps_core video i2c_hid hid_plantronics
  CPU: 4 PID: 389 Comm: systemd-udevd Not tainted 4.12.0-rc1-next-20170515+ #1
  Hardware name: Dell Inc. Latitude E6540/0725FP, BIOS A10 06/26/2014
  task: ffff97d62c8f0000 task.stack: ffffb96f01478000
  RIP: 0010:radeon_driver_load_kms+0xeb/0x230 [radeon]
  RSP: 0018:ffffb96f0147b9d0 EFLAGS: 00010246
  RAX: 0000000000000000 RBX: ffff97d620085000 RCX: 0000000000610037
  RDX: 0000000000000000 RSI: 000000000000002b RDI: 0000000000000000
  RBP: ffffb96f0147b9e8 R08: 0000000000000002 R09: ffffb96f0147b924
  R10: 0000000000000000 R11: ffff97d62edd2ec0 R12: ffff97d628d5c000
  R13: 0000000000610037 R14: ffffffffc0698280 R15: 0000000000000000
  FS:  00007f496363d8c0(0000) GS:ffff97d62eb00000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 00000000000007cb CR3: 000000022c14c000 CR4: 00000000001406e0
  Call Trace:
   drm_dev_register+0x146/0x1d0 [drm]
   drm_get_pci_dev+0x9a/0x180 [drm]
   radeon_pci_probe+0xb8/0xe0 [radeon]
   local_pci_probe+0x45/0xa0
   pci_device_probe+0x14f/0x1a0
   driver_probe_device+0x29c/0x450
   __driver_attach+0xdf/0xf0
   ? driver_probe_device+0x450/0x450
   bus_for_each_dev+0x6c/0xc0
   driver_attach+0x1e/0x20
   bus_add_driver+0x170/0x270
   driver_register+0x60/0xe0
   ? 0xffffffffc0508000
   __pci_register_driver+0x4c/0x50
   drm_pci_init+0xeb/0x100 [drm]
   ? vga_switcheroo_register_handler+0x6a/0x90
   ? 0xffffffffc0508000
   radeon_init+0x98/0xb6 [radeon]
   do_one_initcall+0x52/0x1a0
   ? __vunmap+0x81/0xb0
   ? kmem_cache_alloc_trace+0x159/0x1b0
   ? do_init_module+0x27/0x1f8
   do_init_module+0x5f/0x1f8
   load_module+0x27ce/0x2be0
   SYSC_finit_module+0xdf/0x110
   ? SYSC_finit_module+0xdf/0x110
   SyS_finit_module+0xe/0x10
   do_syscall_64+0x67/0x150
   entry_SYSCALL64_slow_path+0x25/0x25
  RIP: 0033:0x7f4962295679
  RSP: 002b:00007ffdd8c4f878 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
  RAX: ffffffffffffffda RBX: 000055c014ed8200 RCX: 00007f4962295679
  RDX: 0000000000000000 RSI: 00007f4962dd19c5 RDI: 0000000000000010
  RBP: 00007f4962dd19c5 R08: 0000000000000000 R09: 00007ffdd8c4f990
  R10: 0000000000000010 R11: 0000000000000246 R12: 0000000000000000
  R13: 000055c014ed81a0 R14: 0000000000020000 R15: 000055c0149d1fca
  Code: 5d 5d c3 8b 05 a7 05 14 00 49 81 cd 00 00 08 00 85 c0 74 a3 e8 e7 c0 0e 00 84 c0 74 9a 41 f7 c5 00 00 02 00 75 91 49 8b 44 24 10 <0f> b6 90 cb 07 00 00 f6 c2 20 74 1e e9 7b ff ff ff 48 8b 40 38 
  RIP: radeon_driver_load_kms+0xeb/0x230 [radeon] RSP: ffffb96f0147b9d0
  CR2: 00000000000007cb
  ---[ end trace 89cc4ba7e569c65c ]---

Bisection lead to commit 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo"). Reverting this commit on top of next-20170515 fixes the issue for me.

My box is a Dell laptop which most certainly hasn't got any Thunderbolt circuitry.

lspci says that my radeon card is a
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars XTX [Radeon HD 8790M] (rev ff) (prog-if ff)

or in raw form:

01:00.0 0300: 1002:6606 (rev ff)

Thanks,

Nicolai
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Nicolai Stange

I'm experiencing a boot failure on next-20170515:

  BUG: unable to handle kernel NULL pointer dereference at 00000000000007cb
  IP: radeon_driver_load_kms+0xeb/0x230 [radeon]

[snip]

Quoted 6 lines

Bisection lead to commit 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo"). Reverting this commit on top of next-20170515 fixes the issue for me.

My box is a Dell laptop which most certainly hasn't got any Thunderbolt circuitry.

Thanks a lot Nicolai for reporting this, my apologies for the breakage which turns out to be a dereference of rdev->pdev before it's set. :-(

14:   e8 e7 c0 0e 00          callq  0xec100	      	 ; radeon_has_atpx()
19:   84 c0                   test   %al,%al
1b:   74 9a                   je     0xffffffffffffffb7
1d:   41 f7 c5 00 00 02 00    test   $0x20000,%r13d	 ; flags & RADEON_IS_IGP
24:   75 91                   jne    0xffffffffffffffb7
26:   49 8b 44 24 10          mov    0x10(%r12),%rax	 ; rax = rdev
2b:*  0f b6 90 cb 07 00 00    movzbl 0x7cb(%rax),%edx         <-- trapping instruction

Could you verify if the patch below fixes the issue for you?

Thanks!

Lukas

-- >8 --

drivers/gpu/drm/radeon/radeon_kms.c +1 -1
index e3e7cb1..4761f27 100644
@@ -116,7 +116,7 @@ int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags)
 	if ((radeon_runtime_pm != 0) &&
 	    radeon_has_atpx() &&
 	    ((flags & RADEON_IS_IGP) == 0) &&
-	    !pci_is_thunderbolt_attached(rdev->pdev))
+	    !pci_is_thunderbolt_attached(dev->pdev))
 		flags |= RADEON_IS_PX;
 
 	/* radeon_device_init should report only fatal error

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#4 lore raw

PATCH 1/1 drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to a message not in the archive

Nicolai Stange reports the following oops which is caused by dereferencing rdev->pdev before it's subsequently set by radeon_device_init(). Fix it.

  BUG: unable to handle kernel NULL pointer dereference at 00000000000007cb
  IP: radeon_driver_load_kms+0xeb/0x230 [radeon]
  PGD 0
  P4D 0

  Oops: 0000 [#1] SMP
  Modules linked in: amdkfd amd_iommu_v2 i915(+) radeon(+) i2c_algo_bit drm_kms_helper ttm e1000e drm sdhci_pci sdhci_acpi ptp sdhci crc32c_intel serio_raw mmc_core pps_core video i2c_hid hid_plantronics
  CPU: 4 PID: 389 Comm: systemd-udevd Not tainted 4.12.0-rc1-next-20170515+ #1
  Hardware name: Dell Inc. Latitude E6540/0725FP, BIOS A10 06/26/2014
  task: ffff97d62c8f0000 task.stack: ffffb96f01478000
  RIP: 0010:radeon_driver_load_kms+0xeb/0x230 [radeon]
  RSP: 0018:ffffb96f0147b9d0 EFLAGS: 00010246
  RAX: 0000000000000000 RBX: ffff97d620085000 RCX: 0000000000610037
  RDX: 0000000000000000 RSI: 000000000000002b RDI: 0000000000000000
  RBP: ffffb96f0147b9e8 R08: 0000000000000002 R09: ffffb96f0147b924
  R10: 0000000000000000 R11: ffff97d62edd2ec0 R12: ffff97d628d5c000
  R13: 0000000000610037 R14: ffffffffc0698280 R15: 0000000000000000
  FS:  00007f496363d8c0(0000) GS:ffff97d62eb00000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 00000000000007cb CR3: 000000022c14c000 CR4: 00000000001406e0
  Call Trace:
   drm_dev_register+0x146/0x1d0 [drm]
   drm_get_pci_dev+0x9a/0x180 [drm]
   radeon_pci_probe+0xb8/0xe0 [radeon]
   local_pci_probe+0x45/0xa0
   pci_device_probe+0x14f/0x1a0
   driver_probe_device+0x29c/0x450
   __driver_attach+0xdf/0xf0
   ? driver_probe_device+0x450/0x450
   bus_for_each_dev+0x6c/0xc0
   driver_attach+0x1e/0x20
   bus_add_driver+0x170/0x270
   driver_register+0x60/0xe0
   ? 0xffffffffc0508000
   __pci_register_driver+0x4c/0x50
   drm_pci_init+0xeb/0x100 [drm]
   ? vga_switcheroo_register_handler+0x6a/0x90
   ? 0xffffffffc0508000
   radeon_init+0x98/0xb6 [radeon]
   do_one_initcall+0x52/0x1a0
   ? __vunmap+0x81/0xb0
   ? kmem_cache_alloc_trace+0x159/0x1b0
   ? do_init_module+0x27/0x1f8
   do_init_module+0x5f/0x1f8
   load_module+0x27ce/0x2be0
   SYSC_finit_module+0xdf/0x110
   ? SYSC_finit_module+0xdf/0x110
   SyS_finit_module+0xe/0x10
   do_syscall_64+0x67/0x150
   entry_SYSCALL64_slow_path+0x25/0x25
  RIP: 0033:0x7f4962295679
  RSP: 002b:00007ffdd8c4f878 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
  RAX: ffffffffffffffda RBX: 000055c014ed8200 RCX: 00007f4962295679
  RDX: 0000000000000000 RSI: 00007f4962dd19c5 RDI: 0000000000000010
  RBP: 00007f4962dd19c5 R08: 0000000000000000 R09: 00007ffdd8c4f990
  R10: 0000000000000010 R11: 0000000000000246 R12: 0000000000000000
  R13: 000055c014ed81a0 R14: 0000000000020000 R15: 000055c0149d1fca
  Code: 5d 5d c3 8b 05 a7 05 14 00 49 81 cd 00 00 08 00 85 c0 74 a3 e8 e7 c0 0e 00 84 c0 74 9a 41 f7 c5 00 00 02 00 75 91 49 8b 44 24 10 <0f> b6 90 cb 07 00 00 f6 c2 20 74 1e e9 7b ff ff ff 48 8b 40 38
  RIP: radeon_driver_load_kms+0xeb/0x230 [radeon] RSP: ffffb96f0147b9d0
  CR2: 00000000000007cb
  ---[ end trace 89cc4ba7e569c65c ]---
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_kms.c +1 -1
index 6a68d440bc44..d0ad03674250 100644
@@ -116,7 +116,7 @@ int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags)
 	if ((radeon_runtime_pm != 0) &&
 	    radeon_has_atpx() &&
 	    ((flags & RADEON_IS_IGP) == 0) &&
-	    !pci_is_thunderbolt_attached(rdev->pdev))
+	    !pci_is_thunderbolt_attached(dev->pdev))
 		flags |= RADEON_IS_PX;
 
 	/* radeon_device_init should report only fatal error
Signature · 6 lines
2.11.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
author Tested-by on v1 1/1
#5 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

On Thu, May 18 2017, Lukas Wunner wrote:

<snip>

Quoted 8 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Thanks for the quick fix!

Quoted 13 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_kms.c +0 -0
index 6a68d440bc44..d0ad03674250 100644

drivers/gpu/drm/radeon/radeon_kms.c int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags) · line 122

Quoted 8 lines
drivers/gpu/drm/radeon/radeon_kms.c +1 -1
@@ -116,7 +116,7 @@ int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags)
 	if ((radeon_runtime_pm != 0) &&
 	    radeon_has_atpx() &&
 	    ((flags & RADEON_IS_IGP) == 0) &&
-	    !pci_is_thunderbolt_attached(rdev->pdev))
+	    !pci_is_thunderbolt_attached(dev->pdev))
 		flags |= RADEON_IS_PX;
 
 	/* radeon_device_init should report only fatal error

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

Quoted 1 line · Nicolai Stange

On Thu, May 18 2017, Lukas Wunner wrote:

[snip]

Quoted 5 lines
Quoted 5 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Quoted 12 lines
Quoted 3 lines

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Thanks for the quick fix!

Quoted 4 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

I've learned this morning that Alex is on vacation. I've pushed the patch to drm-misc-fixes so that the issue is fixed in 4.12-rc3.

@Sean Paul: I've fast-forwarded to 4.12-rc2 before pushing, please shout if I've done anything wrong. First time I'm doing this.

Thanks,

Lukas

Quoted 16 lines
Quoted 16 lines
 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_kms.c +1 -1
index 6a68d440bc44..d0ad03674250 100644
@@ -116,7 +116,7 @@ int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags)
 	if ((radeon_runtime_pm != 0) &&
 	    radeon_has_atpx() &&
 	    ((flags & RADEON_IS_IGP) == 0) &&
-	    !pci_is_thunderbolt_attached(rdev->pdev))
+	    !pci_is_thunderbolt_attached(dev->pdev))
 		flags |= RADEON_IS_PX;
 
Quoted 1 line

drivers/gpu/drm/radeon/radeon_kms.c int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags) · line 122

Quoted 1 line
drivers/gpu/drm/radeon/radeon_kms.c +0 -0
 	/* radeon_device_init should report only fatal error

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#27 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to Lukas Wunner
Quoted 71 lines · Lukas Wunner

Nicolai Stange reports the following oops which is caused by dereferencing rdev->pdev before it's subsequently set by radeon_device_init(). Fix it.

  BUG: unable to handle kernel NULL pointer dereference at 00000000000007cb
  IP: radeon_driver_load_kms+0xeb/0x230 [radeon]
  PGD 0
  P4D 0

  Oops: 0000 [#1] SMP
  Modules linked in: amdkfd amd_iommu_v2 i915(+) radeon(+) i2c_algo_bit drm_kms_helper ttm e1000e drm sdhci_pci sdhci_acpi ptp sdhci crc32c_intel serio_raw mmc_core pps_core video i2c_hid hid_plantronics
  CPU: 4 PID: 389 Comm: systemd-udevd Not tainted 4.12.0-rc1-next-20170515+ #1
  Hardware name: Dell Inc. Latitude E6540/0725FP, BIOS A10 06/26/2014
  task: ffff97d62c8f0000 task.stack: ffffb96f01478000
  RIP: 0010:radeon_driver_load_kms+0xeb/0x230 [radeon]
  RSP: 0018:ffffb96f0147b9d0 EFLAGS: 00010246
  RAX: 0000000000000000 RBX: ffff97d620085000 RCX: 0000000000610037
  RDX: 0000000000000000 RSI: 000000000000002b RDI: 0000000000000000
  RBP: ffffb96f0147b9e8 R08: 0000000000000002 R09: ffffb96f0147b924
  R10: 0000000000000000 R11: ffff97d62edd2ec0 R12: ffff97d628d5c000
  R13: 0000000000610037 R14: ffffffffc0698280 R15: 0000000000000000
  FS:  00007f496363d8c0(0000) GS:ffff97d62eb00000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 00000000000007cb CR3: 000000022c14c000 CR4: 00000000001406e0
  Call Trace:
   drm_dev_register+0x146/0x1d0 [drm]
   drm_get_pci_dev+0x9a/0x180 [drm]
   radeon_pci_probe+0xb8/0xe0 [radeon]
   local_pci_probe+0x45/0xa0
   pci_device_probe+0x14f/0x1a0
   driver_probe_device+0x29c/0x450
   __driver_attach+0xdf/0xf0
   ? driver_probe_device+0x450/0x450
   bus_for_each_dev+0x6c/0xc0
   driver_attach+0x1e/0x20
   bus_add_driver+0x170/0x270
   driver_register+0x60/0xe0
   ? 0xffffffffc0508000
   __pci_register_driver+0x4c/0x50
   drm_pci_init+0xeb/0x100 [drm]
   ? vga_switcheroo_register_handler+0x6a/0x90
   ? 0xffffffffc0508000
   radeon_init+0x98/0xb6 [radeon]
   do_one_initcall+0x52/0x1a0
   ? __vunmap+0x81/0xb0
   ? kmem_cache_alloc_trace+0x159/0x1b0
   ? do_init_module+0x27/0x1f8
   do_init_module+0x5f/0x1f8
   load_module+0x27ce/0x2be0
   SYSC_finit_module+0xdf/0x110
   ? SYSC_finit_module+0xdf/0x110
   SyS_finit_module+0xe/0x10
   do_syscall_64+0x67/0x150
   entry_SYSCALL64_slow_path+0x25/0x25
  RIP: 0033:0x7f4962295679
  RSP: 002b:00007ffdd8c4f878 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
  RAX: ffffffffffffffda RBX: 000055c014ed8200 RCX: 00007f4962295679
  RDX: 0000000000000000 RSI: 00007f4962dd19c5 RDI: 0000000000000010
  RBP: 00007f4962dd19c5 R08: 0000000000000000 R09: 00007ffdd8c4f990
  R10: 0000000000000010 R11: 0000000000000246 R12: 0000000000000000
  R13: 000055c014ed81a0 R14: 0000000000020000 R15: 000055c0149d1fca
  Code: 5d 5d c3 8b 05 a7 05 14 00 49 81 cd 00 00 08 00 85 c0 74 a3 e8 e7 c0 0e 00 84 c0 74 9a 41 f7 c5 00 00 02 00 75 91 49 8b 44 24 10 <0f> b6 90 cb 07 00 00 f6 c2 20 74 1e e9 7b ff ff ff 48 8b 40 38
  RIP: radeon_driver_load_kms+0xeb/0x230 [radeon] RSP: ffffb96f0147b9d0
  CR2: 00000000000007cb
  ---[ end trace 89cc4ba7e569c65c ]---
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Quoted 8 lines

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

Just noticed that this has landed already in drm-misc-fixes, without any r-b or at least an ack from radeon driver folks. That's breaking the drm-misc rules, we need at least an ack for small drivers (which radeon really isn't) and a full reviewed-by tag on everything else.

Patch doesn't look wrong, so not much harm, but please follow the ground rules and especially don't ever push your own patches without any peer feedback.

Thanks, Daniel

Quoted 24 lines
 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_kms.c +1 -1
index 6a68d440bc44..d0ad03674250 100644
@@ -116,7 +116,7 @@ int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags)
 	if ((radeon_runtime_pm != 0) &&
 	    radeon_has_atpx() &&
 	    ((flags & RADEON_IS_IGP) == 0) &&
-	    !pci_is_thunderbolt_attached(rdev->pdev))
+	    !pci_is_thunderbolt_attached(dev->pdev))
 		flags |= RADEON_IS_PX;
 
 	/* radeon_device_init should report only fatal error
Signature · 6 lines
2.11.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to Lukas Wunner
Quoted 21 lines · Lukas Wunner
Quoted 1 line · Nicolai Stange

On Thu, May 18 2017, Lukas Wunner wrote:

[snip]

Quoted 5 lines
Quoted 5 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Quoted 12 lines
Quoted 3 lines

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Thanks for the quick fix!

Quoted 4 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

Quoted 5 lines

I've learned this morning that Alex is on vacation. I've pushed the patch to drm-misc-fixes so that the issue is fixed in 4.12-rc3.

@Sean Paul: I've fast-forwarded to 4.12-rc2 before pushing, please shout if I've done anything wrong. First time I'm doing this.

No shouting, but a heads-up on IRC is probably warranted for both pushing a patch without R-b and fast-forwarding one of the branches.

Sean

Quoted 22 lines

Thanks,

Lukas

Quoted 17 lines
Quoted 17 lines
 drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/radeon/radeon_kms.c +1 -1
index 6a68d440bc44..d0ad03674250 100644
@@ -116,7 +116,7 @@ int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags)
 	if ((radeon_runtime_pm != 0) &&
 	    radeon_has_atpx() &&
 	    ((flags & RADEON_IS_IGP) == 0) &&
-	    !pci_is_thunderbolt_attached(rdev->pdev))
+	    !pci_is_thunderbolt_attached(dev->pdev))
 		flags |= RADEON_IS_PX;
 
 	/* radeon_device_init should report only fatal error
Signature · 5 lines
Sean Paul, Software Engineer, Google / Chromium OS
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to a message not in the archive
Quoted 14 lines · Lukas Wunner
Quoted 1 line · Nicolai Stange

On Thu, May 18 2017, Lukas Wunner wrote:

[snip]

Quoted 11 lines
Quoted 8 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Quoted 8 lines
Quoted 6 lines

Thanks for the quick fix!

Quoted 4 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

I've learned this morning that Alex is on vacation.

Christian König is standing in for Alex.

Quoted 2 lines

I've pushed the patch to drm-misc-fixes so that the issue is fixed in 4.12-rc3.

I don't think there was any particular need to bypass the normal radeon tree for this. There was plenty of time for the fix to get into 4.12 final, even after Alex is back.

Signature · 6 lines
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
#12 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to a message not in the archive
Quoted 17 lines · Michel Dänzer
Quoted 16 lines · Lukas Wunner
Quoted 1 line · Nicolai Stange

On Thu, May 18 2017, Lukas Wunner wrote:

[snip]

Quoted 13 lines
Quoted 8 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Thanks for the quick fix!

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

I've learned this morning that Alex is on vacation.

Christian König is standing in for Alex.

By his own account, he already has "all hands full replacing him [Alex]", explicitly asked Daniel to merge an amdgpu patch through drm-misc-next for this reason and lacks permission to update branches in Alex' repo on fdo:

"One lesson learned from the past week is that Alex needs to stop using his personal repository on fdo.
We were asked a couple of times if I couldn't update a branch there from different directions, which we obviously can't do."

https://lists.freedesktop.org/archives/dri-devel/2017-May/142376.html
https://lists.freedesktop.org/archives/dri-devel/2017-May/142380.html

Quoted 6 lines
Quoted 2 lines

I've pushed the patch to drm-misc-fixes so that the issue is fixed in 4.12-rc3.

I don't think there was any particular need to bypass the normal radeon tree for this. There was plenty of time for the fix to get into 4.12 final, even after Alex is back.

Well, it wouldn't be nice towards users affected by the same issue who may waste time with bisecting to just sit on a fix twiddling thumbs.

Thanks,

Lukas
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#14 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to a message not in the archive
Quoted 31 lines · Lukas Wunner
Quoted 17 lines · Michel Dänzer
Quoted 16 lines · Lukas Wunner
Quoted 1 line · Nicolai Stange

On Thu, May 18 2017, Lukas Wunner wrote:

[snip]

Quoted 13 lines
Quoted 8 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Thanks for the quick fix!

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

I've learned this morning that Alex is on vacation.

Christian König is standing in for Alex.

By his own account, he already has "all hands full replacing him [Alex]", explicitly asked Daniel to merge an amdgpu patch through drm-misc-next for this reason and lacks permission to update branches in Alex' repo on fdo:

Quoted 7 lines

"One lesson learned from the past week is that Alex needs to stop using his personal repository on fdo.
We were asked a couple of times if I couldn't update a branch there from different directions, which we obviously can't do."

https://lists.freedesktop.org/archives/dri-devel/2017-May/142376.html
https://lists.freedesktop.org/archives/dri-devel/2017-May/142380.html

The important point being that Christian reviewed that patch and explicitly asked Daniel to pick it up.

Quoted 9 lines
Quoted 6 lines
Quoted 2 lines

I've pushed the patch to drm-misc-fixes so that the issue is fixed in 4.12-rc3.

I don't think there was any particular need to bypass the normal radeon tree for this. There was plenty of time for the fix to get into 4.12 final, even after Alex is back.

Well, it wouldn't be nice towards users affected by the same issue who may waste time with bisecting to just sit on a fix twiddling thumbs.

We all tend to think our latest fix is the most important one. :) But I really don't see this one being special.

Signature · 6 lines
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
#16 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to a message not in the archive

Am 23.05.2017 um 05:55 schrieb Michel Dänzer:

Quoted 33 lines · Lukas Wunner
Quoted 32 lines · Michel Dänzer
Quoted 14 lines · Lukas Wunner
Quoted 13 lines · Nicolai Stange
Quoted 1 line · Lukas Wunner

[snip]

Quoted 10 lines
Quoted 8 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Quoted 8 lines
Quoted 7 lines
Quoted 6 lines

Thanks for the quick fix!

Quoted 4 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

I've learned this morning that Alex is on vacation.

Christian König is standing in for Alex.

By his own account, he already has "all hands full replacing him [Alex]", explicitly asked Daniel to merge an amdgpu patch through drm-misc-next for this reason and lacks permission to update branches in Alex' repo on fdo:

"One lesson learned from the past week is that Alex needs to stop using his personal repository on fdo.
We were asked a couple of times if I couldn't update a branch there from different directions, which we obviously can't do."

Quoted 4 lines
Quoted 2 lines

https://lists.freedesktop.org/archives/dri-devel/2017-May/142376.html
https://lists.freedesktop.org/archives/dri-devel/2017-May/142380.html

The important point being that Christian reviewed that patch and explicitly asked Daniel to pick it up.

Wow, wait a second. I'm just catching up on this thread.

Lukas didn't committed the patch to drm-misc without a review, didn't you?

I was intentionally holding back a rb because that isn't my field of expertise and I was only briefly involved in the original patch. Alex should be back by the end of the week, so no need for a rush like that.

Daniels patch was a global cleanup of include path done by search and replace a complete different story.

Regards,
Christian.
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#18 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to a message not in the archive
Quoted 41 lines · Christian König

Am 23.05.2017 um 05:55 schrieb Michel Dänzer:

Quoted 33 lines · Lukas Wunner
Quoted 32 lines · Michel Dänzer
Quoted 14 lines · Lukas Wunner
Quoted 13 lines · Nicolai Stange
Quoted 1 line · Lukas Wunner

[snip]

Quoted 10 lines
Quoted 8 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Quoted 8 lines
Quoted 7 lines
Quoted 6 lines

Thanks for the quick fix!

Quoted 4 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

I've learned this morning that Alex is on vacation.

Christian König is standing in for Alex.

By his own account, he already has "all hands full replacing him [Alex]", explicitly asked Daniel to merge an amdgpu patch through drm-misc-next for this reason and lacks permission to update branches in Alex' repo on fdo:

"One lesson learned from the past week is that Alex needs to stop using his personal repository on fdo.
We were asked a couple of times if I couldn't update a branch there from different directions, which we obviously can't do."

Quoted 4 lines
Quoted 2 lines

https://lists.freedesktop.org/archives/dri-devel/2017-May/142376.html
https://lists.freedesktop.org/archives/dri-devel/2017-May/142380.html

The important point being that Christian reviewed that patch and explicitly asked Daniel to pick it up.

Wow, wait a second. I'm just catching up on this thread.

Quoted 8 lines

Lukas didn't committed the patch to drm-misc without a review, didn't you?

I was intentionally holding back a rb because that isn't my field of expertise and I was only briefly involved in the original patch. Alex should be back by the end of the week, so no need for a rush like that.

Daniels patch was a global cleanup of include path done by search and replace a complete different story.

Want me to drop the patch until Alex is back? We're generally trying really hard to refrain from rebasing drm-misc branches, but for -fixes it's doable (since much less patch traffic there).
-Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
#19 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

Am 23.05.2017 um 09:36 schrieb Daniel Vetter:

Quoted 47 lines · Christian König
Quoted 46 lines

Am 23.05.2017 um 05:55 schrieb Michel Dänzer:

Quoted 33 lines · Lukas Wunner
Quoted 32 lines · Michel Dänzer
Quoted 14 lines · Lukas Wunner
Quoted 13 lines · Nicolai Stange
Quoted 1 line · Lukas Wunner

[snip]

Quoted 10 lines
Quoted 8 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Quoted 8 lines
Quoted 7 lines
Quoted 6 lines

Thanks for the quick fix!

Quoted 4 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

I've learned this morning that Alex is on vacation.

Christian König is standing in for Alex.

By his own account, he already has "all hands full replacing him [Alex]", explicitly asked Daniel to merge an amdgpu patch through drm-misc-next for this reason and lacks permission to update branches in Alex' repo on fdo:

"One lesson learned from the past week is that Alex needs to stop using his personal repository on fdo.
We were asked a couple of times if I couldn't update a branch there from different directions, which we obviously can't do."

Quoted 4 lines
Quoted 2 lines

https://lists.freedesktop.org/archives/dri-devel/2017-May/142376.html
https://lists.freedesktop.org/archives/dri-devel/2017-May/142380.html

The important point being that Christian reviewed that patch and explicitly asked Daniel to pick it up.

Wow, wait a second. I'm just catching up on this thread.

Lukas didn't committed the patch to drm-misc without a review, didn't you?

I was intentionally holding back a rb because that isn't my field of expertise and I was only briefly involved in the original patch. Alex should be back by the end of the week, so no need for a rush like that.

Quoted 5 lines
Quoted 2 lines

Daniels patch was a global cleanup of include path done by search and replace a complete different story.

Want me to drop the patch until Alex is back? We're generally trying really hard to refrain from rebasing drm-misc branches, but for -fixes it's doable (since much less patch traffic there).

No, that would probably hurt more than it helps.

The patch is trivial and I just double checked the code and it should be fine.

Christian.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#20 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to Daniel Vetter
Quoted 48 lines · Daniel Vetter
Quoted 47 lines · Christian König

Am 23.05.2017 um 05:55 schrieb Michel Dänzer:

Quoted 33 lines · Lukas Wunner
Quoted 32 lines · Michel Dänzer
Quoted 14 lines · Lukas Wunner
Quoted 13 lines · Nicolai Stange
Quoted 1 line · Lukas Wunner

[snip]

Quoted 10 lines
Quoted 8 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Quoted 8 lines
Quoted 7 lines
Quoted 6 lines

Thanks for the quick fix!

Quoted 4 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

I've learned this morning that Alex is on vacation.

Christian König is standing in for Alex.

By his own account, he already has "all hands full replacing him [Alex]", explicitly asked Daniel to merge an amdgpu patch through drm-misc-next for this reason and lacks permission to update branches in Alex' repo on fdo:

"One lesson learned from the past week is that Alex needs to stop using his personal repository on fdo.
We were asked a couple of times if I couldn't update a branch there from different directions, which we obviously can't do."

Quoted 4 lines
Quoted 2 lines

https://lists.freedesktop.org/archives/dri-devel/2017-May/142376.html
https://lists.freedesktop.org/archives/dri-devel/2017-May/142380.html

The important point being that Christian reviewed that patch and explicitly asked Daniel to pick it up.

Wow, wait a second. I'm just catching up on this thread.

Lukas didn't committed the patch to drm-misc without a review, didn't you?

I was intentionally holding back a rb because that isn't my field of expertise and I was only briefly involved in the original patch. Alex should be back by the end of the week, so no need for a rush like that.

Quoted 6 lines
Quoted 2 lines

Daniels patch was a global cleanup of include path done by search and replace a complete different story.

Want me to drop the patch until Alex is back? We're generally trying really hard to refrain from rebasing drm-misc branches, but for -fixes it's doable (since much less patch traffic there).

Also, I guess putting this as requirement number one in the drm-misc docs wasn't visible enough:

"Patch is properly reviewed or at least Ack, i.e. don't just push your own stuff directly."

It would be nice if we could check this somehow using scripting, but since we add the r-b/a-b tags only after they're applied that's a bit hard to pull off. Maybe a sanity check when pushing that all the new patches authored by the committer have an r-b/a-b would be useful ... Lukas, can you pls look into that?

Thanks, Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to Sean Paul
Quoted 22 lines · Sean Paul
Quoted 21 lines · Lukas Wunner
Quoted 1 line · Nicolai Stange

On Thu, May 18 2017, Lukas Wunner wrote:

[snip]

Quoted 17 lines
Quoted 8 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Thanks for the quick fix!

Quoted 4 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

Quoted 8 lines
Quoted 5 lines

I've learned this morning that Alex is on vacation. I've pushed the patch to drm-misc-fixes so that the issue is fixed in 4.12-rc3.

@Sean Paul: I've fast-forwarded to 4.12-rc2 before pushing, please shout if I've done anything wrong. First time I'm doing this.

No shouting, but a heads-up on IRC is probably warranted for both pushing a patch without R-b and fast-forwarding one of the branches.

Thanks, noted. I'm not paid for work on the DRM subsystem, so I have to do this during breaks at $DAYJOB where I have no access to IRC, but I will ask via e-mail in the future before going out on a limb.

Not being able to dedicate my full attention to this all the time is also the reason why it's hard for me to get the timing perfect: I had already submitted a fix before you sent out your -rc2 pull and I would have hated missing another rc cycle, yet wasn't sure when exactly you were going to send out your -rc3 pull this week and whether I would be able to carve out enough time to push the patch before that date without hurriedly making major mistakes.

Kind regards,

Lukas
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#29 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to a message not in the archive
Quoted 81 lines · Daniel Vetter
Quoted 71 lines · Lukas Wunner

Nicolai Stange reports the following oops which is caused by dereferencing rdev->pdev before it's subsequently set by radeon_device_init(). Fix it.

  BUG: unable to handle kernel NULL pointer dereference at 00000000000007cb
  IP: radeon_driver_load_kms+0xeb/0x230 [radeon]
  PGD 0
  P4D 0

  Oops: 0000 [#1] SMP
  Modules linked in: amdkfd amd_iommu_v2 i915(+) radeon(+) i2c_algo_bit drm_kms_helper ttm e1000e drm sdhci_pci sdhci_acpi ptp sdhci crc32c_intel serio_raw mmc_core pps_core video i2c_hid hid_plantronics
  CPU: 4 PID: 389 Comm: systemd-udevd Not tainted 4.12.0-rc1-next-20170515+ #1
  Hardware name: Dell Inc. Latitude E6540/0725FP, BIOS A10 06/26/2014
  task: ffff97d62c8f0000 task.stack: ffffb96f01478000
  RIP: 0010:radeon_driver_load_kms+0xeb/0x230 [radeon]
  RSP: 0018:ffffb96f0147b9d0 EFLAGS: 00010246
  RAX: 0000000000000000 RBX: ffff97d620085000 RCX: 0000000000610037
  RDX: 0000000000000000 RSI: 000000000000002b RDI: 0000000000000000
  RBP: ffffb96f0147b9e8 R08: 0000000000000002 R09: ffffb96f0147b924
  R10: 0000000000000000 R11: ffff97d62edd2ec0 R12: ffff97d628d5c000
  R13: 0000000000610037 R14: ffffffffc0698280 R15: 0000000000000000
  FS:  00007f496363d8c0(0000) GS:ffff97d62eb00000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 00000000000007cb CR3: 000000022c14c000 CR4: 00000000001406e0
  Call Trace:
   drm_dev_register+0x146/0x1d0 [drm]
   drm_get_pci_dev+0x9a/0x180 [drm]
   radeon_pci_probe+0xb8/0xe0 [radeon]
   local_pci_probe+0x45/0xa0
   pci_device_probe+0x14f/0x1a0
   driver_probe_device+0x29c/0x450
   __driver_attach+0xdf/0xf0
   ? driver_probe_device+0x450/0x450
   bus_for_each_dev+0x6c/0xc0
   driver_attach+0x1e/0x20
   bus_add_driver+0x170/0x270
   driver_register+0x60/0xe0
   ? 0xffffffffc0508000
   __pci_register_driver+0x4c/0x50
   drm_pci_init+0xeb/0x100 [drm]
   ? vga_switcheroo_register_handler+0x6a/0x90
   ? 0xffffffffc0508000
   radeon_init+0x98/0xb6 [radeon]
   do_one_initcall+0x52/0x1a0
   ? __vunmap+0x81/0xb0
   ? kmem_cache_alloc_trace+0x159/0x1b0
   ? do_init_module+0x27/0x1f8
   do_init_module+0x5f/0x1f8
   load_module+0x27ce/0x2be0
   SYSC_finit_module+0xdf/0x110
   ? SYSC_finit_module+0xdf/0x110
   SyS_finit_module+0xe/0x10
   do_syscall_64+0x67/0x150
   entry_SYSCALL64_slow_path+0x25/0x25
  RIP: 0033:0x7f4962295679
  RSP: 002b:00007ffdd8c4f878 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
  RAX: ffffffffffffffda RBX: 000055c014ed8200 RCX: 00007f4962295679
  RDX: 0000000000000000 RSI: 00007f4962dd19c5 RDI: 0000000000000010
  RBP: 00007f4962dd19c5 R08: 0000000000000000 R09: 00007ffdd8c4f990
  R10: 0000000000000010 R11: 0000000000000246 R12: 0000000000000000
  R13: 000055c014ed81a0 R14: 0000000000020000 R15: 000055c0149d1fca
  Code: 5d 5d c3 8b 05 a7 05 14 00 49 81 cd 00 00 08 00 85 c0 74 a3 e8 e7 c0 0e 00 84 c0 74 9a 41 f7 c5 00 00 02 00 75 91 49 8b 44 24 10 <0f> b6 90 cb 07 00 00 f6 c2 20 74 1e e9 7b ff ff ff 48 8b 40 38
  RIP: radeon_driver_load_kms+0xeb/0x230 [radeon] RSP: ffffb96f0147b9d0
  CR2: 00000000000007cb
  ---[ end trace 89cc4ba7e569c65c ]---
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Quoted 8 lines

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

Quoted 8 lines

Just noticed that this has landed already in drm-misc-fixes, without any r-b or at least an ack from radeon driver folks. That's breaking the drm-misc rules, we need at least an ack for small drivers (which radeon really isn't) and a full reviewed-by tag on everything else.

Patch doesn't look wrong, so not much harm, but please follow the ground rules and especially don't ever push your own patches without any peer feedback.

I was aware of that rule and that the available peer feedback (Nicolai's Tested-by) was thin. I misinterpreted Christian's remark that he has "all hands full replacing" Alex such that he is swamped in work and didn't get the chance to look at my patch so far. Christian was already cc'ed on Nicolai's regression report and on every single e-mail that followed. I figured that nagging Christian wouldn't be helpful if he's already overloaded, yet didn't want to miss another rc cycle, so I pushed without waiting further for a response. I'm sorry for the irritation this has caused, I guess in the future nagging Christian despite regrets is the only option in such a case.

Thanks,

Lukas
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#21 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to Christian König
Quoted 39 lines · Christian König

Am 23.05.2017 um 05:55 schrieb Michel Dänzer:

Quoted 33 lines · Lukas Wunner
Quoted 32 lines · Michel Dänzer
Quoted 14 lines · Lukas Wunner
Quoted 13 lines · Nicolai Stange
Quoted 1 line · Lukas Wunner

[snip]

Quoted 10 lines
Quoted 8 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Quoted 8 lines
Quoted 7 lines
Quoted 6 lines

Thanks for the quick fix!

Quoted 4 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

I've learned this morning that Alex is on vacation.

Christian König is standing in for Alex.

By his own account, he already has "all hands full replacing him [Alex]", explicitly asked Daniel to merge an amdgpu patch through drm-misc-next for this reason and lacks permission to update branches in Alex' repo on fdo:

"One lesson learned from the past week is that Alex needs to stop using his personal repository on fdo.
We were asked a couple of times if I couldn't update a branch there from different directions, which we obviously can't do."

Quoted 4 lines
Quoted 2 lines

https://lists.freedesktop.org/archives/dri-devel/2017-May/142376.html
https://lists.freedesktop.org/archives/dri-devel/2017-May/142380.html

The important point being that Christian reviewed that patch and explicitly asked Daniel to pick it up.

Quoted 6 lines

Wow, wait a second. I'm just catching up on this thread.

Lukas didn't committed the patch to drm-misc without a review, didn't you?

I was intentionally holding back a rb because that isn't my field of expertise and I was only briefly involved in the original patch.

It would have been helpful if you had communicated that, I explicitly asked Alex which tree he'd prefer merging through. If you're his stand-in then why didn't you reply?

I was already wondering why you took the time to reply to Daniel's patch (which went into drm-misc-next, so queued for 4.13), but didn't reply at all to my patch (which affects 4.12, so arguably has higher priority).

I'd dispute that the issue at hand requires specific domain knowlege, it's a trivial dereference of a pointer before it's set.

Quoted 2 lines

Alex should
be back by the end of the week, so no need for a rush like that.

End of the week means the patch would miss another rc cycle, and the DRM subsystem is getting enough criticism for causing regressions as it is, isn't it? :-(

Thanks,

Lukas
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#23 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to a message not in the archive

Am 23.05.2017 um 12:14 schrieb Lukas Wunner:

Quoted 41 lines · Christian König
Quoted 40 lines

Am 23.05.2017 um 05:55 schrieb Michel Dänzer:

Quoted 33 lines · Lukas Wunner
Quoted 32 lines · Michel Dänzer
Quoted 14 lines · Lukas Wunner
Quoted 13 lines · Nicolai Stange
Quoted 1 line · Lukas Wunner

[snip]

Quoted 10 lines
Quoted 8 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Quoted 8 lines
Quoted 7 lines
Quoted 6 lines

Thanks for the quick fix!

Quoted 4 lines

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

I've learned this morning that Alex is on vacation.

Christian König is standing in for Alex.

By his own account, he already has "all hands full replacing him [Alex]", explicitly asked Daniel to merge an amdgpu patch through drm-misc-next for this reason and lacks permission to update branches in Alex' repo on fdo:

"One lesson learned from the past week is that Alex needs to stop using his personal repository on fdo.
We were asked a couple of times if I couldn't update a branch there from different directions, which we obviously can't do."

Quoted 4 lines
Quoted 2 lines

https://lists.freedesktop.org/archives/dri-devel/2017-May/142376.html
https://lists.freedesktop.org/archives/dri-devel/2017-May/142380.html

The important point being that Christian reviewed that patch and explicitly asked Daniel to pick it up.

Wow, wait a second. I'm just catching up on this thread.

Quoted 7 lines
Quoted 4 lines

Lukas didn't committed the patch to drm-misc without a review, didn't you?

I was intentionally holding back a rb because that isn't my field of expertise and I was only briefly involved in the original patch.

It would have been helpful if you had communicated that, I explicitly asked Alex which tree he'd prefer merging through. If you're his stand-in then why didn't you reply?

Alex will be back before the weekend and probably sending another fixes pull for the rc.

PowerXpress is not my field of expertise, but Alex is deeply into so I've ignore that issue for now.

Quoted 6 lines

I was already wondering why you took the time to reply to Daniel's patch (which went into drm-misc-next, so queued for 4.13), but didn't reply at all to my patch (which affects 4.12, so arguably has higher priority).

I'd dispute that the issue at hand requires specific domain knowlege, it's a trivial dereference of a pointer before it's set.

After taking the time this morning to take a look at the patch and the original code I can confirm that it is indeed completely trivial.

Quoted 5 lines
Quoted 2 lines

Alex should
be back by the end of the week, so no need for a rush like that.

End of the week means the patch would miss another rc cycle, and the DRM subsystem is getting enough criticism for causing regressions as it is, isn't it? :-(

Yeah, but in this case just ping me and not commit without any peer review.

For stuff like this we will get even more criticism from Linus than causing regressions.

Anyway no harm done, let's just merge this one through drm-misc-fixes and everything is fine.

Regards,
Christian.

Quoted 4 lines

Thanks,

Lukas

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#30 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to Lukas Wunner
Quoted 91 lines · Lukas Wunner
Quoted 81 lines · Daniel Vetter
Quoted 71 lines · Lukas Wunner

Nicolai Stange reports the following oops which is caused by dereferencing rdev->pdev before it's subsequently set by radeon_device_init(). Fix it.

  BUG: unable to handle kernel NULL pointer dereference at 00000000000007cb
  IP: radeon_driver_load_kms+0xeb/0x230 [radeon]
  PGD 0
  P4D 0

  Oops: 0000 [#1] SMP
  Modules linked in: amdkfd amd_iommu_v2 i915(+) radeon(+) i2c_algo_bit drm_kms_helper ttm e1000e drm sdhci_pci sdhci_acpi ptp sdhci crc32c_intel serio_raw mmc_core pps_core video i2c_hid hid_plantronics
  CPU: 4 PID: 389 Comm: systemd-udevd Not tainted 4.12.0-rc1-next-20170515+ #1
  Hardware name: Dell Inc. Latitude E6540/0725FP, BIOS A10 06/26/2014
  task: ffff97d62c8f0000 task.stack: ffffb96f01478000
  RIP: 0010:radeon_driver_load_kms+0xeb/0x230 [radeon]
  RSP: 0018:ffffb96f0147b9d0 EFLAGS: 00010246
  RAX: 0000000000000000 RBX: ffff97d620085000 RCX: 0000000000610037
  RDX: 0000000000000000 RSI: 000000000000002b RDI: 0000000000000000
  RBP: ffffb96f0147b9e8 R08: 0000000000000002 R09: ffffb96f0147b924
  R10: 0000000000000000 R11: ffff97d62edd2ec0 R12: ffff97d628d5c000
  R13: 0000000000610037 R14: ffffffffc0698280 R15: 0000000000000000
  FS:  00007f496363d8c0(0000) GS:ffff97d62eb00000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 00000000000007cb CR3: 000000022c14c000 CR4: 00000000001406e0
  Call Trace:
   drm_dev_register+0x146/0x1d0 [drm]
   drm_get_pci_dev+0x9a/0x180 [drm]
   radeon_pci_probe+0xb8/0xe0 [radeon]
   local_pci_probe+0x45/0xa0
   pci_device_probe+0x14f/0x1a0
   driver_probe_device+0x29c/0x450
   __driver_attach+0xdf/0xf0
   ? driver_probe_device+0x450/0x450
   bus_for_each_dev+0x6c/0xc0
   driver_attach+0x1e/0x20
   bus_add_driver+0x170/0x270
   driver_register+0x60/0xe0
   ? 0xffffffffc0508000
   __pci_register_driver+0x4c/0x50
   drm_pci_init+0xeb/0x100 [drm]
   ? vga_switcheroo_register_handler+0x6a/0x90
   ? 0xffffffffc0508000
   radeon_init+0x98/0xb6 [radeon]
   do_one_initcall+0x52/0x1a0
   ? __vunmap+0x81/0xb0
   ? kmem_cache_alloc_trace+0x159/0x1b0
   ? do_init_module+0x27/0x1f8
   do_init_module+0x5f/0x1f8
   load_module+0x27ce/0x2be0
   SYSC_finit_module+0xdf/0x110
   ? SYSC_finit_module+0xdf/0x110
   SyS_finit_module+0xe/0x10
   do_syscall_64+0x67/0x150
   entry_SYSCALL64_slow_path+0x25/0x25
  RIP: 0033:0x7f4962295679
  RSP: 002b:00007ffdd8c4f878 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
  RAX: ffffffffffffffda RBX: 000055c014ed8200 RCX: 00007f4962295679
  RDX: 0000000000000000 RSI: 00007f4962dd19c5 RDI: 0000000000000010
  RBP: 00007f4962dd19c5 R08: 0000000000000000 R09: 00007ffdd8c4f990
  R10: 0000000000000010 R11: 0000000000000246 R12: 0000000000000000
  R13: 000055c014ed81a0 R14: 0000000000020000 R15: 000055c0149d1fca
  Code: 5d 5d c3 8b 05 a7 05 14 00 49 81 cd 00 00 08 00 85 c0 74 a3 e8 e7 c0 0e 00 84 c0 74 9a 41 f7 c5 00 00 02 00 75 91 49 8b 44 24 10 <0f> b6 90 cb 07 00 00 f6 c2 20 74 1e e9 7b ff ff ff 48 8b 40 38
  RIP: radeon_driver_load_kms+0xeb/0x230 [radeon] RSP: ffffb96f0147b9d0
  CR2: 00000000000007cb
  ---[ end trace 89cc4ba7e569c65c ]---
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo")

---

Quoted 8 lines

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

@Alex Deucher: I could push this to drm-misc-fixes but then it wouldn't land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the breakage!

Quoted 8 lines

Just noticed that this has landed already in drm-misc-fixes, without any r-b or at least an ack from radeon driver folks. That's breaking the drm-misc rules, we need at least an ack for small drivers (which radeon really isn't) and a full reviewed-by tag on everything else.

Patch doesn't look wrong, so not much harm, but please follow the ground rules and especially don't ever push your own patches without any peer feedback.

Quoted 10 lines

I was aware of that rule and that the available peer feedback (Nicolai's Tested-by) was thin. I misinterpreted Christian's remark that he has "all hands full replacing" Alex such that he is swamped in work and didn't get the chance to look at my patch so far. Christian was already cc'ed on Nicolai's regression report and on every single e-mail that followed. I figured that nagging Christian wouldn't be helpful if he's already overloaded, yet didn't want to miss another rc cycle, so I pushed without waiting further for a response. I'm sorry for the irritation this has caused, I guess in the future nagging Christian despite regrets is the only option in such a case.

Don't worry too much. The entire point of drm-misc is to make contributing to drm/gpu drivers as painless as possible. Occasionally things go a bit wrong, but that's why I then want to focus on tooling&documentation to make sure we'll get this right in the future (if every committer would need to learn every implicit rule we have, we'd get nowhere at all). Assigning blame to people doesn't help in getting better at this stuff as a community.

Anyway just my 2cents of debriefing, looks like we're all good. -Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#24 lore raw

RE: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to a message not in the archive
Quoted 44 lines

-----Original Message-----
From: Lukas Wunner [mailto:[email protected]]
Sent: Monday, May 22, 2017 11:51 PM
To: Michel Dänzer
Cc: Nicolai Stange; Sean Paul; Deucher, Alexander; dri- [email protected]; [email protected]; Koenig, Christian
Subject: Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

Quoted 6 lines · Michel Dänzer
Quoted 5 lines · Lukas Wunner
Quoted 1 line · Nicolai Stange

On Thu, May 18 2017, Lukas Wunner wrote:

[snip]

Quoted 2 lines
Quoted 2 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU

with vga_switcheroo")

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Thanks for the quick fix!

Quoted 1 line

@Alex Deucher: I could push this to drm-misc-fixes but then it

wouldn't

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the

breakage!

Quoted 4 lines
Quoted 2 lines

I've learned this morning that Alex is on vacation.

Christian König is standing in for Alex.

By his own account, he already has "all hands full replacing him [Alex]", explicitly asked Daniel to merge an amdgpu patch through drm-misc-next for this reason and lacks permission to update branches in Alex' repo on fdo:

Quoted 8 lines

"One lesson learned from the past week is that Alex needs to stop using his personal repository on fdo.
We were asked a couple of times if I couldn't update a branch there from different directions, which we obviously can't do."

https://lists.freedesktop.org/archives/dri-devel/2017-May/142376.html
https://lists.freedesktop.org/archives/dri-devel/2017-May/142380.html

What tree we use for pull requests is irrelevant. We need to follow the proper protocol. In the future patches like this should have an ack or rb and should flow through the radeon tree.

Quoted 10 lines
Quoted 7 lines
Quoted 3 lines

I've pushed the patch to drm-misc-fixes so that the issue is fixed in 4.12-rc3.

I don't think there was any particular need to bypass the normal radeon tree for this. There was plenty of time for the fix to get into 4.12 final, even after Alex is back.

Well, it wouldn't be nice towards users affected by the same issue who may waste time with bisecting to just sit on a fix twiddling thumbs.

We also need to try and avoid regressions and try and flow changes through proper trees. There is always going to be some delay in getting changes upstream.

Alex

Quoted 4 lines

Thanks,

Lukas

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#26 lore raw

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

In reply to a message not in the archive
Quoted 59 lines · Alexander
Quoted 44 lines

-----Original Message-----
From: Lukas Wunner [mailto:[email protected]]
Sent: Monday, May 22, 2017 11:51 PM
To: Michel Dänzer
Cc: Nicolai Stange; Sean Paul; Deucher, Alexander; dri- [email protected]; [email protected]; Koenig, Christian
Subject: Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

Quoted 6 lines · Michel Dänzer
Quoted 5 lines · Lukas Wunner
Quoted 1 line · Nicolai Stange

On Thu, May 18 2017, Lukas Wunner wrote:

[snip]

Quoted 2 lines
Quoted 2 lines
Fixes 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU

with vga_switcheroo")

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

---

Awaiting a Tested-by: from Nicolai, but it's clear this is a bug and needs to be fixed, so sending out with a proper commit message now. The bug was only introduced to radeon, not amdgpu.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Thanks for the quick fix!

Quoted 1 line

@Alex Deucher: I could push this to drm-misc-fixes but then it

wouldn't

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

land before -rc3 because Sean Paul has already sent out the -rc2 pull. I notice you haven't sent out a pull for -rc2 yet, so maybe you want to take it yourself? Whichever you prefer. Thanks & sorry for the

breakage!

Quoted 4 lines
Quoted 2 lines

I've learned this morning that Alex is on vacation.

Christian König is standing in for Alex.

By his own account, he already has "all hands full replacing him [Alex]", explicitly asked Daniel to merge an amdgpu patch through drm-misc-next for this reason and lacks permission to update branches in Alex' repo on fdo:

Quoted 8 lines

"One lesson learned from the past week is that Alex needs to stop using his personal repository on fdo.
We were asked a couple of times if I couldn't update a branch there from different directions, which we obviously can't do."

https://lists.freedesktop.org/archives/dri-devel/2017-May/142376.html
https://lists.freedesktop.org/archives/dri-devel/2017-May/142380.html

What tree we use for pull requests is irrelevant. We need to follow the proper protocol. In the future patches like this should have an ack or rb and should flow through the radeon tree.

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

I've pushed the patch to drm-misc-fixes so that the issue is fixed in 4.12-rc3.

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

I don't think there was any particular need to bypass the normal radeon tree for this. There was plenty of time for the fix to get into 4.12 final, even after Alex is back.

Well, it wouldn't be nice towards users affected by the same issue who may waste time with bisecting to just sit on a fix twiddling thumbs.

We also need to try and avoid regressions and try and flow changes through proper trees. There is always going to be some delay in getting changes upstream.

Sorry for piling on, I hadn't quite caught up with the whole thread yet. In the end no harm done.

Alex

Quoted 11 lines

Alex

Quoted 4 lines

Thanks,

Lukas

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx