amd-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/radeon: always set GEM function pointer
@ 2024-10-07 18:32 Christian König
  2024-10-07 18:36 ` Alex Deucher
  2024-10-07 18:38 ` Alex Deucher
  0 siblings, 2 replies; 28+ messages in thread
From: Christian König @ 2024-10-07 18:32 UTC (permalink / raw)
  To: amd-gfx, alexander.deucher

Make sure to always set the GEM function pointer even for in kernel
allocations. This fixes a NULL pointer deref caused by switching to GEM
references.

Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: fd69ef05029f ("drm/radeon: use GEM references instead of TTMs")
---
 drivers/gpu/drm/radeon/radeon_gem.c    | 3 ---
 drivers/gpu/drm/radeon/radeon_object.c | 1 +
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c
index 9735f4968b86..bf2d4b16dc2a 100644
--- a/drivers/gpu/drm/radeon/radeon_gem.c
+++ b/drivers/gpu/drm/radeon/radeon_gem.c
@@ -44,8 +44,6 @@ struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj);
 int radeon_gem_prime_pin(struct drm_gem_object *obj);
 void radeon_gem_prime_unpin(struct drm_gem_object *obj);
 
-const struct drm_gem_object_funcs radeon_gem_object_funcs;
-
 static vm_fault_t radeon_gem_fault(struct vm_fault *vmf)
 {
 	struct ttm_buffer_object *bo = vmf->vma->vm_private_data;
@@ -132,7 +130,6 @@ int radeon_gem_object_create(struct radeon_device *rdev, unsigned long size,
 		return r;
 	}
 	*obj = &robj->tbo.base;
-	(*obj)->funcs = &radeon_gem_object_funcs;
 	robj->pid = task_pid_nr(current);
 
 	mutex_lock(&rdev->gem.mutex);
diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c
index d0e4b43d155c..7672404fdb29 100644
--- a/drivers/gpu/drm/radeon/radeon_object.c
+++ b/drivers/gpu/drm/radeon/radeon_object.c
@@ -151,6 +151,7 @@ int radeon_bo_create(struct radeon_device *rdev,
 	if (bo == NULL)
 		return -ENOMEM;
 	drm_gem_private_object_init(rdev_to_drm(rdev), &bo->tbo.base, size);
+	bo->tbo.base.funcs = &radeon_gem_object_funcs;
 	bo->rdev = rdev;
 	bo->surface_reg = -1;
 	INIT_LIST_HEAD(&bo->list);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 28+ messages in thread

* Re: [PATCH] drm/radeon: always set GEM function pointer
  2024-10-07 18:32 [PATCH] drm/radeon: always set GEM function pointer Christian König
@ 2024-10-07 18:36 ` Alex Deucher
  2024-10-08  8:59   ` Christian Zigotzky
  2024-10-08 11:21   ` [PATCH] drm/radeon: always set GEM function pointer Hans de Goede
  2024-10-07 18:38 ` Alex Deucher
  1 sibling, 2 replies; 28+ messages in thread
From: Alex Deucher @ 2024-10-07 18:36 UTC (permalink / raw)
  To: Christian König, Hans de Goede, Christian Zigotzky,
	Wu Hoi Pok
  Cc: amd-gfx, alexander.deucher

Add a few people.

This should fix the radeon ttm gem conversion.

Alex



On Mon, Oct 7, 2024 at 2:33 PM Christian König
<ckoenig.leichtzumerken@gmail.com> wrote:
>
> Make sure to always set the GEM function pointer even for in kernel
> allocations. This fixes a NULL pointer deref caused by switching to GEM
> references.
>
> Signed-off-by: Christian König <christian.koenig@amd.com>
> Fixes: fd69ef05029f ("drm/radeon: use GEM references instead of TTMs")
> ---
>  drivers/gpu/drm/radeon/radeon_gem.c    | 3 ---
>  drivers/gpu/drm/radeon/radeon_object.c | 1 +
>  2 files changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c
> index 9735f4968b86..bf2d4b16dc2a 100644
> --- a/drivers/gpu/drm/radeon/radeon_gem.c
> +++ b/drivers/gpu/drm/radeon/radeon_gem.c
> @@ -44,8 +44,6 @@ struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj);
>  int radeon_gem_prime_pin(struct drm_gem_object *obj);
>  void radeon_gem_prime_unpin(struct drm_gem_object *obj);
>
> -const struct drm_gem_object_funcs radeon_gem_object_funcs;
> -
>  static vm_fault_t radeon_gem_fault(struct vm_fault *vmf)
>  {
>         struct ttm_buffer_object *bo = vmf->vma->vm_private_data;
> @@ -132,7 +130,6 @@ int radeon_gem_object_create(struct radeon_device *rdev, unsigned long size,
>                 return r;
>         }
>         *obj = &robj->tbo.base;
> -       (*obj)->funcs = &radeon_gem_object_funcs;
>         robj->pid = task_pid_nr(current);
>
>         mutex_lock(&rdev->gem.mutex);
> diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c
> index d0e4b43d155c..7672404fdb29 100644
> --- a/drivers/gpu/drm/radeon/radeon_object.c
> +++ b/drivers/gpu/drm/radeon/radeon_object.c
> @@ -151,6 +151,7 @@ int radeon_bo_create(struct radeon_device *rdev,
>         if (bo == NULL)
>                 return -ENOMEM;
>         drm_gem_private_object_init(rdev_to_drm(rdev), &bo->tbo.base, size);
> +       bo->tbo.base.funcs = &radeon_gem_object_funcs;
>         bo->rdev = rdev;
>         bo->surface_reg = -1;
>         INIT_LIST_HEAD(&bo->list);
> --
> 2.34.1
>

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH] drm/radeon: always set GEM function pointer
  2024-10-07 18:32 [PATCH] drm/radeon: always set GEM function pointer Christian König
  2024-10-07 18:36 ` Alex Deucher
@ 2024-10-07 18:38 ` Alex Deucher
  1 sibling, 0 replies; 28+ messages in thread
From: Alex Deucher @ 2024-10-07 18:38 UTC (permalink / raw)
  To: Christian König; +Cc: amd-gfx, alexander.deucher

On Mon, Oct 7, 2024 at 2:33 PM Christian König
<ckoenig.leichtzumerken@gmail.com> wrote:
>
> Make sure to always set the GEM function pointer even for in kernel
> allocations. This fixes a NULL pointer deref caused by switching to GEM
> references.
>
> Signed-off-by: Christian König <christian.koenig@amd.com>
> Fixes: fd69ef05029f ("drm/radeon: use GEM references instead of TTMs")

Acked-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  drivers/gpu/drm/radeon/radeon_gem.c    | 3 ---
>  drivers/gpu/drm/radeon/radeon_object.c | 1 +
>  2 files changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c
> index 9735f4968b86..bf2d4b16dc2a 100644
> --- a/drivers/gpu/drm/radeon/radeon_gem.c
> +++ b/drivers/gpu/drm/radeon/radeon_gem.c
> @@ -44,8 +44,6 @@ struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj);
>  int radeon_gem_prime_pin(struct drm_gem_object *obj);
>  void radeon_gem_prime_unpin(struct drm_gem_object *obj);
>
> -const struct drm_gem_object_funcs radeon_gem_object_funcs;
> -
>  static vm_fault_t radeon_gem_fault(struct vm_fault *vmf)
>  {
>         struct ttm_buffer_object *bo = vmf->vma->vm_private_data;
> @@ -132,7 +130,6 @@ int radeon_gem_object_create(struct radeon_device *rdev, unsigned long size,
>                 return r;
>         }
>         *obj = &robj->tbo.base;
> -       (*obj)->funcs = &radeon_gem_object_funcs;
>         robj->pid = task_pid_nr(current);
>
>         mutex_lock(&rdev->gem.mutex);
> diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c
> index d0e4b43d155c..7672404fdb29 100644
> --- a/drivers/gpu/drm/radeon/radeon_object.c
> +++ b/drivers/gpu/drm/radeon/radeon_object.c
> @@ -151,6 +151,7 @@ int radeon_bo_create(struct radeon_device *rdev,
>         if (bo == NULL)
>                 return -ENOMEM;
>         drm_gem_private_object_init(rdev_to_drm(rdev), &bo->tbo.base, size);
> +       bo->tbo.base.funcs = &radeon_gem_object_funcs;
>         bo->rdev = rdev;
>         bo->surface_reg = -1;
>         INIT_LIST_HEAD(&bo->list);
> --
> 2.34.1
>

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [PATCH] drm/radeon: always set GEM function pointer
  2024-10-07 18:36 ` Alex Deucher
@ 2024-10-08  8:59   ` Christian Zigotzky
  2024-10-10 13:57     ` [PATCHES] drm/radeon issues Christian Zigotzky
  2024-10-08 11:21   ` [PATCH] drm/radeon: always set GEM function pointer Hans de Goede
  1 sibling, 1 reply; 28+ messages in thread
From: Christian Zigotzky @ 2024-10-08  8:59 UTC (permalink / raw)
  To: R.T.Dickinson, mad skateman, Darren Stevens, hypexed,
	linuxppc-dev, Christian Zigotzky
  Cc: Christian König, Hans de Goede, Wu Hoi Pok, amd-gfx,
	Alex Deucher, alexander.deucher

Hi All,

I have released the RC2 of kernel 6.12 with Christian Koenig’s patch for the X1000 and X5000.

Download and further information: https://github.com/chzigotzky/kernels/releases/tag/v6.12.0-rc2

Please test the kernels because of the second Radeon DRM driver issue.

Thanks,
Christian

> Am 07.10.2024 um 20:36 schrieb Alex Deucher <alexdeucher@gmail.com>:
> 
> Add a few people.
> 
> This should fix the radeon ttm gem conversion.
> 
> Alex
> 
> 
> 
>> On Mon, Oct 7, 2024 at 2:33 PM Christian König
>> <ckoenig.leichtzumerken@gmail.com> wrote:
>> 
>> Make sure to always set the GEM function pointer even for in kernel
>> allocations. This fixes a NULL pointer deref caused by switching to GEM
>> references.
>> 
>> Signed-off-by: Christian König <christian.koenig@amd.com>
>> Fixes: fd69ef05029f ("drm/radeon: use GEM references instead of TTMs")
>> ---
>> drivers/gpu/drm/radeon/radeon_gem.c    | 3 ---
>> drivers/gpu/drm/radeon/radeon_object.c | 1 +
>> 2 files changed, 1 insertion(+), 3 deletions(-)
>> 
>> diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c
>> index 9735f4968b86..bf2d4b16dc2a 100644
>> --- a/drivers/gpu/drm/radeon/radeon_gem.c
>> +++ b/drivers/gpu/drm/radeon/radeon_gem.c
>> @@ -44,8 +44,6 @@ struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj);
>> int radeon_gem_prime_pin(struct drm_gem_object *obj);
>> void radeon_gem_prime_unpin(struct drm_gem_object *obj);
>> 
>> -const struct drm_gem_object_funcs radeon_gem_object_funcs;
>> -
>> static vm_fault_t radeon_gem_fault(struct vm_fault *vmf)
>> {
>>        struct ttm_buffer_object *bo = vmf->vma->vm_private_data;
>> @@ -132,7 +130,6 @@ int radeon_gem_object_create(struct radeon_device *rdev, unsigned long size,
>>                return r;
>>        }
>>        *obj = &robj->tbo.base;
>> -       (*obj)->funcs = &radeon_gem_object_funcs;
>>        robj->pid = task_pid_nr(current);
>> 
>>        mutex_lock(&rdev->gem.mutex);
>> diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c
>> index d0e4b43d155c..7672404fdb29 100644
>> --- a/drivers/gpu/drm/radeon/radeon_object.c
>> +++ b/drivers/gpu/drm/radeon/radeon_object.c
>> @@ -151,6 +151,7 @@ int radeon_bo_create(struct radeon_device *rdev,
>>        if (bo == NULL)
>>                return -ENOMEM;
>>        drm_gem_private_object_init(rdev_to_drm(rdev), &bo->tbo.base, size);
>> +       bo->tbo.base.funcs = &radeon_gem_object_funcs;
>>        bo->rdev = rdev;
>>        bo->surface_reg = -1;
>>        INIT_LIST_HEAD(&bo->list);
>> --
>> 2.34.1
>> 


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCH] drm/radeon: always set GEM function pointer
  2024-10-07 18:36 ` Alex Deucher
  2024-10-08  8:59   ` Christian Zigotzky
@ 2024-10-08 11:21   ` Hans de Goede
  1 sibling, 0 replies; 28+ messages in thread
From: Hans de Goede @ 2024-10-08 11:21 UTC (permalink / raw)
  To: Alex Deucher, Christian König, Christian Zigotzky,
	Wu Hoi Pok
  Cc: amd-gfx, alexander.deucher

Hi,

On 7-Oct-24 8:36 PM, Alex Deucher wrote:
> Add a few people.

Thank you.

> This should fix the radeon ttm gem conversion.
>
> On Mon, Oct 7, 2024 at 2:33 PM Christian König
> <ckoenig.leichtzumerken@gmail.com> wrote:
>>
>> Make sure to always set the GEM function pointer even for in kernel
>> allocations. This fixes a NULL pointer deref caused by switching to GEM
>> references.
>>
>> Signed-off-by: Christian König <christian.koenig@amd.com>
>> Fixes: fd69ef05029f ("drm/radeon: use GEM references instead of TTMs")

I can confirm that this fixes gdm not showing with 6.12-rc1
(after the "drm/radeon: add late_register for connector" fix):

Tested-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans



>> ---
>>  drivers/gpu/drm/radeon/radeon_gem.c    | 3 ---
>>  drivers/gpu/drm/radeon/radeon_object.c | 1 +
>>  2 files changed, 1 insertion(+), 3 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c
>> index 9735f4968b86..bf2d4b16dc2a 100644
>> --- a/drivers/gpu/drm/radeon/radeon_gem.c
>> +++ b/drivers/gpu/drm/radeon/radeon_gem.c
>> @@ -44,8 +44,6 @@ struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj);
>>  int radeon_gem_prime_pin(struct drm_gem_object *obj);
>>  void radeon_gem_prime_unpin(struct drm_gem_object *obj);
>>
>> -const struct drm_gem_object_funcs radeon_gem_object_funcs;
>> -
>>  static vm_fault_t radeon_gem_fault(struct vm_fault *vmf)
>>  {
>>         struct ttm_buffer_object *bo = vmf->vma->vm_private_data;
>> @@ -132,7 +130,6 @@ int radeon_gem_object_create(struct radeon_device *rdev, unsigned long size,
>>                 return r;
>>         }
>>         *obj = &robj->tbo.base;
>> -       (*obj)->funcs = &radeon_gem_object_funcs;
>>         robj->pid = task_pid_nr(current);
>>
>>         mutex_lock(&rdev->gem.mutex);
>> diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c
>> index d0e4b43d155c..7672404fdb29 100644
>> --- a/drivers/gpu/drm/radeon/radeon_object.c
>> +++ b/drivers/gpu/drm/radeon/radeon_object.c
>> @@ -151,6 +151,7 @@ int radeon_bo_create(struct radeon_device *rdev,
>>         if (bo == NULL)
>>                 return -ENOMEM;
>>         drm_gem_private_object_init(rdev_to_drm(rdev), &bo->tbo.base, size);
>> +       bo->tbo.base.funcs = &radeon_gem_object_funcs;
>>         bo->rdev = rdev;
>>         bo->surface_reg = -1;
>>         INIT_LIST_HEAD(&bo->list);
>> --
>> 2.34.1
>>
> 


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [PATCHES] drm/radeon issues
  2024-10-08  8:59   ` Christian Zigotzky
@ 2024-10-10 13:57     ` Christian Zigotzky
  2024-10-10 23:49       ` Jeff Johnson
  0 siblings, 1 reply; 28+ messages in thread
From: Christian Zigotzky @ 2024-10-10 13:57 UTC (permalink / raw)
  To: R.T.Dickinson, mad skateman, Darren Stevens, hypexed,
	linuxppc-dev, Christian Zigotzky
  Cc: Christian König, Hans de Goede, Wu Hoi Pok, amd-gfx,
	Alex Deucher, alexander.deucher

Hi All,

There is another issue with the Radeon DRM driver but there is already a patch available for this issue.

Link: https://lists.freedesktop.org/archives/dri-devel/2024-October/473314.html

I compiled a new RC2 of kernel 6.12 with this patch for the X1000 and X5000 today.

Download: https://github.com/chzigotzky/kernels/releases/tag/v6.12.0-rc2-2

We need 3 patches for the Radeon DRM driver currently.

Please test it.

Thanks,
Christian


> On 08 October 2024 at 11:00am, Christian Zigotzky <chzigotzky@xenosoft.de> wrote:
> 
> Hi All,
> 
> I have released the RC2 of kernel 6.12 with Christian Koenig’s patch for the X1000 and X5000.
> 
> Download and further information: https://github.com/chzigotzky/kernels/releases/tag/v6.12.0-rc2
> 
> Please test the kernels because of the second Radeon DRM driver issue.
> 
> Thanks,
> Christian
> 
>> Am 07.10.2024 um 20:36 schrieb Alex Deucher <alexdeucher@gmail.com>:
>> 
>> Add a few people.
>> 
>> This should fix the radeon ttm gem conversion.
>> 
>> Alex
>> 
>> 
>> 
>>> On Mon, Oct 7, 2024 at 2:33 PM Christian König
>>> <ckoenig.leichtzumerken@gmail.com> wrote:
>>> 
>>> Make sure to always set the GEM function pointer even for in kernel
>>> allocations. This fixes a NULL pointer deref caused by switching to GEM
>>> references.
>>> 
>>> Signed-off-by: Christian König <christian.koenig@amd.com>
>>> Fixes: fd69ef05029f ("drm/radeon: use GEM references instead of TTMs")
>>> ---
>>> drivers/gpu/drm/radeon/radeon_gem.c    | 3 ---
>>> drivers/gpu/drm/radeon/radeon_object.c | 1 +
>>> 2 files changed, 1 insertion(+), 3 deletions(-)
>>> 
>>> diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c
>>> index 9735f4968b86..bf2d4b16dc2a 100644
>>> --- a/drivers/gpu/drm/radeon/radeon_gem.c
>>> +++ b/drivers/gpu/drm/radeon/radeon_gem.c
>>> @@ -44,8 +44,6 @@ struct sg_table *radeon_gem_prime_get_sg_table(struct drm_gem_object *obj);
>>> int radeon_gem_prime_pin(struct drm_gem_object *obj);
>>> void radeon_gem_prime_unpin(struct drm_gem_object *obj);
>>> 
>>> -const struct drm_gem_object_funcs radeon_gem_object_funcs;
>>> -
>>> static vm_fault_t radeon_gem_fault(struct vm_fault *vmf)
>>> {
>>>       struct ttm_buffer_object *bo = vmf->vma->vm_private_data;
>>> @@ -132,7 +130,6 @@ int radeon_gem_object_create(struct radeon_device *rdev, unsigned long size,
>>>               return r;
>>>       }
>>>       *obj = &robj->tbo.base;
>>> -       (*obj)->funcs = &radeon_gem_object_funcs;
>>>       robj->pid = task_pid_nr(current);
>>> 
>>>       mutex_lock(&rdev->gem.mutex);
>>> diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c
>>> index d0e4b43d155c..7672404fdb29 100644
>>> --- a/drivers/gpu/drm/radeon/radeon_object.c
>>> +++ b/drivers/gpu/drm/radeon/radeon_object.c
>>> @@ -151,6 +151,7 @@ int radeon_bo_create(struct radeon_device *rdev,
>>>       if (bo == NULL)
>>>               return -ENOMEM;
>>>       drm_gem_private_object_init(rdev_to_drm(rdev), &bo->tbo.base, size);
>>> +       bo->tbo.base.funcs = &radeon_gem_object_funcs;
>>>       bo->rdev = rdev;
>>>       bo->surface_reg = -1;
>>>       INIT_LIST_HEAD(&bo->list);
>>> --
>>> 2.34.1
>>> 


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCHES] drm/radeon issues
  2024-10-10 13:57     ` [PATCHES] drm/radeon issues Christian Zigotzky
@ 2024-10-10 23:49       ` Jeff Johnson
  2024-10-11  3:53         ` Christian Zigotzky
  0 siblings, 1 reply; 28+ messages in thread
From: Jeff Johnson @ 2024-10-10 23:49 UTC (permalink / raw)
  To: Christian Zigotzky, R.T.Dickinson, mad skateman, Darren Stevens,
	hypexed, linuxppc-dev, Christian Zigotzky
  Cc: Christian König, Hans de Goede, Wu Hoi Pok, amd-gfx,
	Alex Deucher, alexander.deucher

On 10/10/24 06:57, Christian Zigotzky wrote:
> Hi All,
> 
> There is another issue with the Radeon DRM driver but there is already a patch available for this issue.
> 
> Link: https://lists.freedesktop.org/archives/dri-devel/2024-October/473314.html
> 
> I compiled a new RC2 of kernel 6.12 with this patch for the X1000 and X5000 today.
> 
> Download: https://github.com/chzigotzky/kernels/releases/tag/v6.12.0-rc2-2
> 
> We need 3 patches for the Radeon DRM driver currently.

Can you provide links to all 3 patches?

6.12-rc2 was back merged to my ath.git project, but then my laptop
stopped booting correctly and I discovered a few Radeon KASAN reports.
Based upon my search of lore I found:

20241003060650.18454-1-wuhoipok@gmail.com
[PATCH] drm/radeon: add late_register for connector

20241007183241.1584-1-christian.koenig@amd.com
[PATCH] drm/radeon: always set GEM function pointer

But that is only 2 patches.


^ permalink raw reply	[flat|nested] 28+ messages in thread

* [PATCHES] drm/radeon issues
  2024-10-10 23:49       ` Jeff Johnson
@ 2024-10-11  3:53         ` Christian Zigotzky
  2024-10-14 12:59           ` Alex Deucher
  0 siblings, 1 reply; 28+ messages in thread
From: Christian Zigotzky @ 2024-10-11  3:53 UTC (permalink / raw)
  To: Jeff Johnson
  Cc: R.T.Dickinson, mad skateman, Darren Stevens, hypexed,
	linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, Alex Deucher,
	alexander.deucher

On 11 October 2024 at 01:49am, Jeff Johnson <quic_jjohnson@quicinc.com> wrote:

Can you provide links to all 3 patches?

6.12-rc2 was back merged to my ath.git project, but then my laptop
stopped booting correctly and I discovered a few Radeon KASAN reports.
Based upon my search of lore I found:

20241003060650.18454-1-wuhoipok@gmail.com
[PATCH] drm/radeon: add late_register for connector

20241007183241.1584-1-christian.koenig@amd.com
[PATCH] drm/radeon: always set GEM function pointer

But that is only 2 patches.

- - -

The third patch: https://github.com/chzigotzky/kernels/blob/main/patches/X1000/radeon_encoders.patch

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: [PATCHES] drm/radeon issues
  2024-10-11  3:53         ` Christian Zigotzky
@ 2024-10-14 12:59           ` Alex Deucher
  2024-10-14 13:11             ` Christian Zigotzky
  0 siblings, 1 reply; 28+ messages in thread
From: Alex Deucher @ 2024-10-14 12:59 UTC (permalink / raw)
  To: Christian Zigotzky
  Cc: Jeff Johnson, R.T.Dickinson, mad skateman, Darren Stevens,
	hypexed, linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, alexander.deucher

On Thu, Oct 10, 2024 at 11:54 PM Christian Zigotzky
<chzigotzky@xenosoft.de> wrote:
>
> On 11 October 2024 at 01:49am, Jeff Johnson <quic_jjohnson@quicinc.com> wrote:
>
> Can you provide links to all 3 patches?
>
> 6.12-rc2 was back merged to my ath.git project, but then my laptop
> stopped booting correctly and I discovered a few Radeon KASAN reports.
> Based upon my search of lore I found:
>
> 20241003060650.18454-1-wuhoipok@gmail.com
> [PATCH] drm/radeon: add late_register for connector
>
> 20241007183241.1584-1-christian.koenig@amd.com
> [PATCH] drm/radeon: always set GEM function pointer
>
> But that is only 2 patches.
>
> - - -
>
> The third patch: https://github.com/chzigotzky/kernels/blob/main/patches/X1000/radeon_encoders.patch

Can whoever wrote this send it out as a proper patch?

Alex

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [PATCHES] drm/radeon issues
  2024-10-14 12:59           ` Alex Deucher
@ 2024-10-14 13:11             ` Christian Zigotzky
  2024-10-15  3:57               ` Christian Zigotzky
  0 siblings, 1 reply; 28+ messages in thread
From: Christian Zigotzky @ 2024-10-14 13:11 UTC (permalink / raw)
  To: Alex Deucher
  Cc: Jeff Johnson, R.T.Dickinson, mad skateman, Darren Stevens,
	hypexed, linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, alexander.deucher

On 14 October 2024 at 3:00pm, Alex Deucher <alexdeucher@gmail.com> wrote:

Can whoever wrote this send it out as a proper patch?

Alex

Patch source: https://lists.freedesktop.org/archives/dri-devel/2024-October/473314.html

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [PATCHES] drm/radeon issues
  2024-10-14 13:11             ` Christian Zigotzky
@ 2024-10-15  3:57               ` Christian Zigotzky
  2025-08-03 11:35                 ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulaton Christian Zigotzky
  0 siblings, 1 reply; 28+ messages in thread
From: Christian Zigotzky @ 2024-10-15  3:57 UTC (permalink / raw)
  To: Alex Deucher, ville.syrjala
  Cc: Jeff Johnson, R.T.Dickinson, mad skateman, Darren Stevens,
	hypexed, linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, alexander.deucher

On 14 October 2024 at 3:11pm, Christian Zigotzky wrote:

 >> On 14 October 2024 at 3:00pm, Alex Deucher <alexdeucher@gmail.com> 
wrote:
 >>
 >> Can whoever wrote this send it out as a proper patch?
 >>
 >> Alex
 >>


 > Patch source: 
https://lists.freedesktop.org/archives/dri-devel/2024-October/473314.html

+ ville.syrjala

^ permalink raw reply	[flat|nested] 28+ messages in thread

* radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulaton
  2024-10-15  3:57               ` Christian Zigotzky
@ 2025-08-03 11:35                 ` Christian Zigotzky
  2025-08-03 15:30                   ` Christian Zigotzky
  0 siblings, 1 reply; 28+ messages in thread
From: Christian Zigotzky @ 2025-08-03 11:35 UTC (permalink / raw)
  To: Alex Deucher, ville.syrjala
  Cc: Jeff Johnson, R.T.Dickinson, mad skateman, Darren Stevens,
	hypexed, linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, alexander.deucher

Hello,

Xorg doesn't work after the DRM updates drm-next-2025-07-30.

Error messages:

[dr:.radeon_fbdev_river_fbdev_proe] *ERROR* failed to initialize 
framebuffer -22
radeon 0000:01:0.0: [drm] *ERRO* fbdev: Failedto setup emulaton (ret=-22)
brd module loadedm
lop: module loadd
mpt3ss version 52.10.00.00 loaded
nve nvme0: pci fuction 0002:04:0.0
fsl-sata ffe20000.sata: SataFSL Platform/CS Driver init
scs host0: sata_fs
ta1: SATA max DMA/133 irq 68 pm-pol 0
;21;39mfsl-sat ffe221000.sata Sata FSL Platfrm/CSB Driver iit
ata1: Signatue Update detectd @ 0 msecs
scsihost1: sata_fsl[0m
ta2: SATA max UMA/133 irq 69 lm-pol 0
nvme nvm0: 4/0/0 defaul/read/poll queus
nvme0n1: p1 p p3 p4 p5 p6 p7[0m
drm:.radeon_fbdv_driver_fbdev_robe] *ERROR* filed to initialze 
framebuffer 22
fsl_dpaa_mac fe4e6000.ethernt: 
of_get_mac_adress(/soc@ffe00000/fman@40000/ethernet@e6000 failed
radeon 000:01:00.0: [dr] *ERROR* fbdev Failed to setu emulation (ret-22)
fsl_dpaa_ma ffe4e6000.ethenet: FMan MEMAC[0m
sl_dpaa_mac ffee6000.ethernet:Using random MA address: 0e

Could you please check the latest DRM updates?

Thanks,
Christian


^ permalink raw reply	[flat|nested] 28+ messages in thread

* radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulaton
  2025-08-03 11:35                 ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulaton Christian Zigotzky
@ 2025-08-03 15:30                   ` Christian Zigotzky
  2025-08-04  8:11                     ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation Christian Zigotzky
  2025-08-04 14:42                     ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulaton Alex Deucher
  0 siblings, 2 replies; 28+ messages in thread
From: Christian Zigotzky @ 2025-08-03 15:30 UTC (permalink / raw)
  To: Alex Deucher, ville.syrjala
  Cc: Jeff Johnson, R.T.Dickinson, mad skateman, Darren Stevens,
	hypexed, linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, alexander.deucher

Hello,

I have the same issue on another machine either. Blank screen during the 
boot. The Radeon graphics framebuffer device doesn't work anymore.

Here is the modifed code from the DRM updates (drm-next-2025-07-30):

- 
https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_fbdev.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
- 
https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_drv.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
- 
https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_display.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
- 
https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/evergreen_cs.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2

Do you have a patch for reverting these modifications? I would like to 
revert these modifications for testing.

Thanks in advance,
Christian

On 03 August 2025 at 1:35 pm, Christian Zigotzky wrote:
> Hello,
> 
> Xorg doesn't work after the DRM updates drm-next-2025-07-30.
> 
> Error messages:
> 
> [dr:.radeon_fbdev_river_fbdev_proe] *ERROR* failed to initialize 
> framebuffer -22
> radeon 0000:01:0.0: [drm] *ERRO* fbdev: Failedto setup emulaton (ret=-22)
> brd module loadedm
> lop: module loadd
> mpt3ss version 52.10.00.00 loaded
> nve nvme0: pci fuction 0002:04:0.0
> fsl-sata ffe20000.sata: SataFSL Platform/CS Driver init
> scs host0: sata_fs
> ta1: SATA max DMA/133 irq 68 pm-pol 0
> ;21;39mfsl-sat ffe221000.sata Sata FSL Platfrm/CSB Driver iit
> ata1: Signatue Update detectd @ 0 msecs
> scsihost1: sata_fsl[0m
> ta2: SATA max UMA/133 irq 69 lm-pol 0
> nvme nvm0: 4/0/0 defaul/read/poll queus
> nvme0n1: p1 p p3 p4 p5 p6 p7[0m
> drm:.radeon_fbdv_driver_fbdev_robe] *ERROR* filed to initialze 
> framebuffer 22
> fsl_dpaa_mac fe4e6000.ethernt: of_get_mac_adress(/soc@ffe00000/ 
> fman@40000/ethernet@e6000 failed
> radeon 000:01:00.0: [dr] *ERROR* fbdev Failed to setu emulation (ret-22)
> fsl_dpaa_ma ffe4e6000.ethenet: FMan MEMAC[0m
> sl_dpaa_mac ffee6000.ethernet:Using random MA address: 0e
> 
> Could you please check the latest DRM updates?
> 
> Thanks,
> Christian
> 


^ permalink raw reply	[flat|nested] 28+ messages in thread

* radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-03 15:30                   ` Christian Zigotzky
@ 2025-08-04  8:11                     ` Christian Zigotzky
  2025-08-04 14:42                     ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulaton Alex Deucher
  1 sibling, 0 replies; 28+ messages in thread
From: Christian Zigotzky @ 2025-08-04  8:11 UTC (permalink / raw)
  To: developers DRI
  Cc: Jeff Johnson, R.T.Dickinson, mad skateman, Darren Stevens,
	hypexed, linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, alexander.deucher

FYI: We are using PowerPC machines.

+ dri-devel

> On 03 August 2025 at 05:28 pm, Christian Zigotzky <chzigotzky@xenosoft.de> wrote:
> 
> Hello,
> 
> I have the same issue on another machine either. Blank screen during the boot. The Radeon graphics framebuffer device doesn't work anymore.
> 
> Here is the modifed code from the DRM updates (drm-next-2025-07-30):
> 
> - https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_fbdev.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> - https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_drv.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> - https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_display.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> - https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/evergreen_cs.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> 
> Do you have a patch for reverting these modifications? I would like to revert these modifications for testing.
> 
> Thanks in advance,
> Christian
> 
>> On 03 August 2025 at 1:35 pm, Christian Zigotzky wrote:
>> Hello,
>> Xorg doesn't work after the DRM updates drm-next-2025-07-30.
>> Error messages:
>> [dr:.radeon_fbdev_river_fbdev_proe] *ERROR* failed to initialize framebuffer -22
>> radeon 0000:01:0.0: [drm] *ERRO* fbdev: Failedto setup emulaton (ret=-22)
>> brd module loadedm
>> lop: module loadd
>> mpt3ss version 52.10.00.00 loaded
>> nve nvme0: pci fuction 0002:04:0.0
>> fsl-sata ffe20000.sata: SataFSL Platform/CS Driver init
>> scs host0: sata_fs
>> ta1: SATA max DMA/133 irq 68 pm-pol 0
>> ;21;39mfsl-sat ffe221000.sata Sata FSL Platfrm/CSB Driver iit
>> ata1: Signatue Update detectd @ 0 msecs
>> scsihost1: sata_fsl[0m
>> ta2: SATA max UMA/133 irq 69 lm-pol 0
>> nvme nvm0: 4/0/0 defaul/read/poll queus
>> nvme0n1: p1 p p3 p4 p5 p6 p7[0m
>> drm:.radeon_fbdv_driver_fbdev_robe] *ERROR* filed to initialze framebuffer 22
>> fsl_dpaa_mac fe4e6000.ethernt: of_get_mac_adress(/soc@ffe00000/ fman@40000/ethernet@e6000 failed
>> radeon 000:01:00.0: [dr] *ERROR* fbdev Failed to setu emulation (ret-22)
>> fsl_dpaa_ma ffe4e6000.ethenet: FMan MEMAC[0m
>> sl_dpaa_mac ffee6000.ethernet:Using random MA address: 0e
>> Could you please check the latest DRM updates?
>> Thanks,
>> Christian
> 


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulaton
  2025-08-03 15:30                   ` Christian Zigotzky
  2025-08-04  8:11                     ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation Christian Zigotzky
@ 2025-08-04 14:42                     ` Alex Deucher
  2025-08-04 16:05                       ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation Christian Zigotzky
  1 sibling, 1 reply; 28+ messages in thread
From: Alex Deucher @ 2025-08-04 14:42 UTC (permalink / raw)
  To: Christian Zigotzky
  Cc: ville.syrjala, Jeff Johnson, R.T.Dickinson, mad skateman,
	Darren Stevens, hypexed, linuxppc-dev, Christian Zigotzky,
	Christian König, Hans de Goede, Wu Hoi Pok, amd-gfx,
	alexander.deucher

On Sun, Aug 3, 2025 at 11:28 AM Christian Zigotzky
<chzigotzky@xenosoft.de> wrote:
>
> Hello,
>
> I have the same issue on another machine either. Blank screen during the
> boot. The Radeon graphics framebuffer device doesn't work anymore.
>
> Here is the modifed code from the DRM updates (drm-next-2025-07-30):
>
> -
> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_fbdev.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> -
> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_drv.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2

This change just bumps the driver version it shouldn't affect the fbdev.

> -
> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_display.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> -
> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/evergreen_cs.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2

This only affects acceleration, it should not affect fbdev.

What chip are you using?  Can you attach your full dmesg output?  Can
you bisect?  This cultrit could be a core drm change.

Alex

>
> Do you have a patch for reverting these modifications? I would like to
> revert these modifications for testing.
>
> Thanks in advance,
> Christian
>
> On 03 August 2025 at 1:35 pm, Christian Zigotzky wrote:
> > Hello,
> >
> > Xorg doesn't work after the DRM updates drm-next-2025-07-30.
> >
> > Error messages:
> >
> > [dr:.radeon_fbdev_river_fbdev_proe] *ERROR* failed to initialize
> > framebuffer -22
> > radeon 0000:01:0.0: [drm] *ERRO* fbdev: Failedto setup emulaton (ret=-22)
> > brd module loadedm
> > lop: module loadd
> > mpt3ss version 52.10.00.00 loaded
> > nve nvme0: pci fuction 0002:04:0.0
> > fsl-sata ffe20000.sata: SataFSL Platform/CS Driver init
> > scs host0: sata_fs
> > ta1: SATA max DMA/133 irq 68 pm-pol 0
> > ;21;39mfsl-sat ffe221000.sata Sata FSL Platfrm/CSB Driver iit
> > ata1: Signatue Update detectd @ 0 msecs
> > scsihost1: sata_fsl[0m
> > ta2: SATA max UMA/133 irq 69 lm-pol 0
> > nvme nvm0: 4/0/0 defaul/read/poll queus
> > nvme0n1: p1 p p3 p4 p5 p6 p7[0m
> > drm:.radeon_fbdv_driver_fbdev_robe] *ERROR* filed to initialze
> > framebuffer 22
> > fsl_dpaa_mac fe4e6000.ethernt: of_get_mac_adress(/soc@ffe00000/
> > fman@40000/ethernet@e6000 failed
> > radeon 000:01:00.0: [dr] *ERROR* fbdev Failed to setu emulation (ret-22)
> > fsl_dpaa_ma ffe4e6000.ethenet: FMan MEMAC[0m
> > sl_dpaa_mac ffee6000.ethernet:Using random MA address: 0e
> >
> > Could you please check the latest DRM updates?
> >
> > Thanks,
> > Christian
> >
>

^ permalink raw reply	[flat|nested] 28+ messages in thread

* radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-04 14:42                     ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulaton Alex Deucher
@ 2025-08-04 16:05                       ` Christian Zigotzky
  2025-08-04 16:26                         ` mad skateman
  2025-08-08 16:01                         ` Damien Stewart
  0 siblings, 2 replies; 28+ messages in thread
From: Christian Zigotzky @ 2025-08-04 16:05 UTC (permalink / raw)
  To: Alex Deucher
  Cc: ville.syrjala, Jeff Johnson, mad skateman, Darren Stevens,
	hypexed, linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, alexander.deucher,
	R.T.Dickinson


On 04 August 2025 at 04:42 pm, Alex Deucher wrote:
> On Sun, Aug 3, 2025 at 11:28 AM Christian Zigotzky
> <chzigotzky@xenosoft.de> wrote:
>>
>> Hello,
>>
>> I have the same issue on another machine either. Blank screen during the
>> boot. The Radeon graphics framebuffer device doesn't work anymore.
>>
>> Here is the modifed code from the DRM updates (drm-next-2025-07-30):
>>
>> -
>> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_fbdev.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
>> -
>> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_drv.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> 
> This change just bumps the driver version it shouldn't affect the fbdev.
> 
>> -
>> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_display.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
>> -
>> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/evergreen_cs.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> 
> This only affects acceleration, it should not affect fbdev.
> 
> What chip are you using?  Can you attach your full dmesg output?  Can
> you bisect?  This cultrit could be a core drm change.
> 
> Alex
> 
>>
>> Do you have a patch for reverting these modifications? I would like to
>> revert these modifications for testing.
>>
>> Thanks in advance,
>> Christian
>>
>> On 03 August 2025 at 1:35 pm, Christian Zigotzky wrote:
>>> Hello,
>>>
>>> Xorg doesn't work after the DRM updates drm-next-2025-07-30.
>>>
>>> Error messages:
>>>
>>> [dr:.radeon_fbdev_river_fbdev_proe] *ERROR* failed to initialize
>>> framebuffer -22
>>> radeon 0000:01:0.0: [drm] *ERRO* fbdev: Failedto setup emulaton (ret=-22)
>>> brd module loadedm
>>> lop: module loadd
>>> mpt3ss version 52.10.00.00 loaded
>>> nve nvme0: pci fuction 0002:04:0.0
>>> fsl-sata ffe20000.sata: SataFSL Platform/CS Driver init
>>> scs host0: sata_fs
>>> ta1: SATA max DMA/133 irq 68 pm-pol 0
>>> ;21;39mfsl-sat ffe221000.sata Sata FSL Platfrm/CSB Driver iit
>>> ata1: Signatue Update detectd @ 0 msecs
>>> scsihost1: sata_fsl[0m
>>> ta2: SATA max UMA/133 irq 69 lm-pol 0
>>> nvme nvm0: 4/0/0 defaul/read/poll queus
>>> nvme0n1: p1 p p3 p4 p5 p6 p7[0m
>>> drm:.radeon_fbdv_driver_fbdev_robe] *ERROR* filed to initialze
>>> framebuffer 22
>>> fsl_dpaa_mac fe4e6000.ethernt: of_get_mac_adress(/soc@ffe00000/
>>> fman@40000/ethernet@e6000 failed
>>> radeon 000:01:00.0: [dr] *ERROR* fbdev Failed to setu emulation (ret-22)
>>> fsl_dpaa_ma ffe4e6000.ethenet: FMan MEMAC[0m
>>> sl_dpaa_mac ffee6000.ethernet:Using random MA address: 0e
>>>
>>> Could you please check the latest DRM updates?
>>>
>>> Thanks,
>>> Christian
>>>
>>

Hello Alex,

Thanks for your answer.

I use a BARTS chip (Radeon HD6870). I would like to bisect but I don't 
have time for it currently. Sorry

There are some other user reports:

- https://forum.hyperion-entertainment.com/viewtopic.php?p=60606#p60606
- https://forum.hyperion-entertainment.com/viewtopic.php?p=60595#p60595

They use other Radeon graphics chips.

Bug report: https://github.com/chzigotzky/kernels/issues/15

What do you think about the following commit?

Link: 
https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0e7d5874fb6b80c44be3cfbcf1cf356e81d91232

@Hypex
Could you please attach your full dmesg output?

Thanks,
Christian

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-04 16:05                       ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation Christian Zigotzky
@ 2025-08-04 16:26                         ` mad skateman
  2025-08-07 14:10                           ` Christian Zigotzky
  2025-08-08 16:01                         ` Damien Stewart
  1 sibling, 1 reply; 28+ messages in thread
From: mad skateman @ 2025-08-04 16:26 UTC (permalink / raw)
  To: Christian Zigotzky
  Cc: Alex Deucher, ville.syrjala, Jeff Johnson, Darren Stevens,
	hypexed, linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, Alex Deucher, R.T.Dickinson

[-- Attachment #1: Type: text/plain, Size: 4096 bytes --]

I am using the R580 chip which is the Radeon X1950 XT.

The board i am using is a T1042 PowerPC based one with e5500 core.

I also lost the ability to start Xorg and therefore just a blank screen.

Dave





Op ma 4 aug 2025, 18:04 schreef Christian Zigotzky <chzigotzky@xenosoft.de>:

>
> On 04 August 2025 at 04:42 pm, Alex Deucher wrote:
> > On Sun, Aug 3, 2025 at 11:28 AM Christian Zigotzky
> > <chzigotzky@xenosoft.de> wrote:
> >>
> >> Hello,
> >>
> >> I have the same issue on another machine either. Blank screen during the
> >> boot. The Radeon graphics framebuffer device doesn't work anymore.
> >>
> >> Here is the modifed code from the DRM updates (drm-next-2025-07-30):
> >>
> >> -
> >>
> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_fbdev.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> >> -
> >>
> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_drv.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> >
> > This change just bumps the driver version it shouldn't affect the fbdev.
> >
> >> -
> >>
> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/radeon_display.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> >> -
> >>
> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/drivers/gpu/drm/radeon/evergreen_cs.c?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> >
> > This only affects acceleration, it should not affect fbdev.
> >
> > What chip are you using?  Can you attach your full dmesg output?  Can
> > you bisect?  This cultrit could be a core drm change.
> >
> > Alex
> >
> >>
> >> Do you have a patch for reverting these modifications? I would like to
> >> revert these modifications for testing.
> >>
> >> Thanks in advance,
> >> Christian
> >>
> >> On 03 August 2025 at 1:35 pm, Christian Zigotzky wrote:
> >>> Hello,
> >>>
> >>> Xorg doesn't work after the DRM updates drm-next-2025-07-30.
> >>>
> >>> Error messages:
> >>>
> >>> [dr:.radeon_fbdev_river_fbdev_proe] *ERROR* failed to initialize
> >>> framebuffer -22
> >>> radeon 0000:01:0.0: [drm] *ERRO* fbdev: Failedto setup emulaton
> (ret=-22)
> >>> brd module loadedm
> >>> lop: module loadd
> >>> mpt3ss version 52.10.00.00 loaded
> >>> nve nvme0: pci fuction 0002:04:0.0
> >>> fsl-sata ffe20000.sata: SataFSL Platform/CS Driver init
> >>> scs host0: sata_fs
> >>> ta1: SATA max DMA/133 irq 68 pm-pol 0
> >>> ;21;39mfsl-sat ffe221000.sata Sata FSL Platfrm/CSB Driver iit
> >>> ata1: Signatue Update detectd @ 0 msecs
> >>> scsihost1: sata_fsl[0m
> >>> ta2: SATA max UMA/133 irq 69 lm-pol 0
> >>> nvme nvm0: 4/0/0 defaul/read/poll queus
> >>> nvme0n1: p1 p p3 p4 p5 p6 p7[0m
> >>> drm:.radeon_fbdv_driver_fbdev_robe] *ERROR* filed to initialze
> >>> framebuffer 22
> >>> fsl_dpaa_mac fe4e6000.ethernt: of_get_mac_adress(/soc@ffe00000/
> >>> fman@40000/ethernet@e6000 failed
> >>> radeon 000:01:00.0: [dr] *ERROR* fbdev Failed to setu emulation
> (ret-22)
> >>> fsl_dpaa_ma ffe4e6000.ethenet: FMan MEMAC[0m
> >>> sl_dpaa_mac ffee6000.ethernet:Using random MA address: 0e
> >>>
> >>> Could you please check the latest DRM updates?
> >>>
> >>> Thanks,
> >>> Christian
> >>>
> >>
>
> Hello Alex,
>
> Thanks for your answer.
>
> I use a BARTS chip (Radeon HD6870). I would like to bisect but I don't
> have time for it currently. Sorry
>
> There are some other user reports:
>
> - https://forum.hyperion-entertainment.com/viewtopic.php?p=60606#p60606
> - https://forum.hyperion-entertainment.com/viewtopic.php?p=60595#p60595
>
> They use other Radeon graphics chips.
>
> Bug report: https://github.com/chzigotzky/kernels/issues/15
>
> What do you think about the following commit?
>
> Link:
>
> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0e7d5874fb6b80c44be3cfbcf1cf356e81d91232
>
> @Hypex
> Could you please attach your full dmesg output?
>
> Thanks,
> Christian
>

[-- Attachment #2: Type: text/html, Size: 6819 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-04 16:26                         ` mad skateman
@ 2025-08-07 14:10                           ` Christian Zigotzky
  2025-08-07 14:20                             ` Limonciello, Mario
  0 siblings, 1 reply; 28+ messages in thread
From: Christian Zigotzky @ 2025-08-07 14:10 UTC (permalink / raw)
  To: mad skateman
  Cc: Alex Deucher, ville.syrjala, Jeff Johnson, Darren Stevens,
	hypexed, linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, Alex Deucher, R.T.Dickinson,
	mario.limonciello, bhelgaas, benato.denis96, Yijun_Shen,
	david.perry, rafael, dri-devel

[-- Attachment #1: Type: text/html, Size: 10505 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-07 14:10                           ` Christian Zigotzky
@ 2025-08-07 14:20                             ` Limonciello, Mario
  2025-08-08  7:36                               ` Christian Zigotzky
  0 siblings, 1 reply; 28+ messages in thread
From: Limonciello, Mario @ 2025-08-07 14:20 UTC (permalink / raw)
  To: Christian Zigotzky, mad skateman
  Cc: Alex Deucher, ville.syrjala@linux.intel.com, Jeff Johnson,
	Darren Stevens, hypexed@yahoo.com.au, linuxppc-dev,
	Christian Zigotzky, Christian König, Hans de Goede,
	Wu Hoi Pok, amd-gfx@lists.freedesktop.org, Deucher, Alexander,
	R.T.Dickinson, bhelgaas@google.com, benato.denis96@gmail.com,
	Yijun_Shen@Dell.com, Perry, David, rafael@kernel.org,
	dri-devel@lists.freedesktop.org

On 8/7/25 9:10 AM, Christian Zigotzky wrote:
> I bisected today.
> 
> git clone https://gitlab.freedesktop.org/drm/kernel a
> 
> git bisect start
> 
> git bisect good 2f29b5c231011b94007d2c8a6d793992f2275db1
> (Good: video: screen_info: Relocate framebuffers behind PCI bridges)
> 
> git bisect bad f62408efc8669b82541295a4611494c8c8c52684
> (Bad: drm/xe/vf: Disable CSC support on VF)
> 
> 4d4c10f763d7808fbade28d83d237411603bca05 is the first bad commit
> commit 4d4c10f763d7808fbade28d83d237411603bca05
> Author: Mario Limonciello <mario.limonciello@amd.com>
> Date:   Wed Apr 23 23:31:32 2025 -0500
> 
>      PCI: Explicitly put devices into D0 when initializing
> 
>      AMD BIOS team has root caused an issue that NVMe storage failed to come
>      back from suspend to a lack of a call to _REG when NVMe device was 
> probed.
> 
>      112a7f9c8edbf ("PCI/ACPI: Call _REG when transitioning D-states") added
>      support for calling _REG when transitioning D-states, but this only 
> works
>      if the device actually "transitions" D-states.
> 
>      967577b062417 ("PCI/PM: Keep runtime PM enabled for unbound PCI 
> devices")
>      added support for runtime PM on PCI devices, but never actually
>      'explicitly' sets the device to D0.
> 
>      To make sure that devices are in D0 and that platform methods such as
>      _REG are called, explicitly set all devices into D0 during 
> initialization.
> 
>      Fixes: 967577b062417 ("PCI/PM: Keep runtime PM enabled for unbound 
> PCI devices")
>      Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
>      Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
>      Tested-by: Denis Benato <benato.denis96@gmail.com>
>      Tested-By: Yijun Shen <Yijun_Shen@Dell.com>
>      Tested-By: David Perry <david.perry@amd.com>
>      Reviewed-by: Rafael J. Wysocki <rafael@kernel.org>
>      Link: https://patch.msgid.link/20250424043232.1848107-1- 
> superm1@kernel.org
> 
>   drivers/pci/pci-driver.c |  6 ------
>   drivers/pci/pci.c        | 13 ++++++++++---
>   drivers/pci/pci.h        |  1 +
>   3 files changed, 11 insertions(+), 9 deletions(-)
> 
> I bisected with a ATi Radeon 7000 / VE (-device ati-vga,model=rv100) :-)
> 
>> On 04 August 2025 at 06:26 pm, mad skateman <madskateman@gmail.com> wrote:
>>
>> 
>> I am using the R580 chip which is the Radeon X1950 XT.
>>
>> The board i am using is a T1042 PowerPC based one with e5500 core.
>>
>> I also lost the ability to start Xorg and therefore just a blank screen.
>>
>> Dave
>>
>>
>>
>>
>>
>> Op ma 4 aug 2025, 18:04 schreef Christian Zigotzky 
>> <chzigotzky@xenosoft.de <mailto:chzigotzky@xenosoft.de>>:
>>
>>
>>     On 04 August 2025 at 04:42 pm, Alex Deucher wrote:
>>     > On Sun, Aug 3, 2025 at 11:28 AM Christian Zigotzky
>>     > <chzigotzky@xenosoft.de <mailto:chzigotzky@xenosoft.de>> wrote:
>>     >>
>>     >> Hello,
>>     >>
>>     >> I have the same issue on another machine either. Blank screen
>>     during the
>>     >> boot. The Radeon graphics framebuffer device doesn't work anymore.
>>     >>
>>     >> Here is the modifed code from the DRM updates (drm-
>>     next-2025-07-30):
>>     >>
>>     >> -
>>     >> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/
>>     linux.git/diff/drivers/gpu/drm/radeon/radeon_fbdev.c?
>>     id=260f6f4fda93c8485c8037865c941b42b9cba5d2 <https://
>>     web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
>>     diff/drivers/gpu/drm/radeon/radeon_fbdev.c?
>>     id=260f6f4fda93c8485c8037865c941b42b9cba5d2>
>>     >> -
>>     >> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/
>>     linux.git/diff/drivers/gpu/drm/radeon/radeon_drv.c?
>>     id=260f6f4fda93c8485c8037865c941b42b9cba5d2 <https://
>>     web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
>>     diff/drivers/gpu/drm/radeon/radeon_drv.c?
>>     id=260f6f4fda93c8485c8037865c941b42b9cba5d2>
>>     >
>>     > This change just bumps the driver version it shouldn't affect
>>     the fbdev.
>>     >
>>     >> -
>>     >> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/
>>     linux.git/diff/drivers/gpu/drm/radeon/radeon_display.c?
>>     id=260f6f4fda93c8485c8037865c941b42b9cba5d2 <https://
>>     web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
>>     diff/drivers/gpu/drm/radeon/radeon_display.c?
>>     id=260f6f4fda93c8485c8037865c941b42b9cba5d2>
>>     >> -
>>     >> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/
>>     linux.git/diff/drivers/gpu/drm/radeon/evergreen_cs.c?
>>     id=260f6f4fda93c8485c8037865c941b42b9cba5d2 <https://
>>     web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
>>     diff/drivers/gpu/drm/radeon/evergreen_cs.c?
>>     id=260f6f4fda93c8485c8037865c941b42b9cba5d2>
>>     >
>>     > This only affects acceleration, it should not affect fbdev.
>>     >
>>     > What chip are you using?  Can you attach your full dmesg
>>     output?  Can
>>     > you bisect?  This cultrit could be a core drm change.
>>     >
>>     > Alex
>>     >
>>     >>
>>     >> Do you have a patch for reverting these modifications? I would
>>     like to
>>     >> revert these modifications for testing.
>>     >>
>>     >> Thanks in advance,
>>     >> Christian
>>     >>
>>     >> On 03 August 2025 at 1:35 pm, Christian Zigotzky wrote:
>>     >>> Hello,
>>     >>>
>>     >>> Xorg doesn't work after the DRM updates drm-next-2025-07-30.
>>     >>>
>>     >>> Error messages:
>>     >>>
>>     >>> [dr:.radeon_fbdev_river_fbdev_proe] *ERROR* failed to initialize
>>     >>> framebuffer -22
>>     >>> radeon 0000:01:0.0: [drm] *ERRO* fbdev: Failedto setup
>>     emulaton (ret=-22)
>>     >>> brd module loadedm
>>     >>> lop: module loadd
>>     >>> mpt3ss version 52.10.00.00 loaded
>>     >>> nve nvme0: pci fuction 0002:04:0.0
>>     >>> fsl-sata ffe20000.sata: SataFSL Platform/CS Driver init
>>     >>> scs host0: sata_fs
>>     >>> ta1: SATA max DMA/133 irq 68 pm-pol 0
>>     >>> ;21;39mfsl-sat ffe221000.sata Sata FSL Platfrm/CSB Driver iit
>>     >>> ata1: Signatue Update detectd @ 0 msecs
>>     >>> scsihost1: sata_fsl[0m
>>     >>> ta2: SATA max UMA/133 irq 69 lm-pol 0
>>     >>> nvme nvm0: 4/0/0 defaul/read/poll queus
>>     >>> nvme0n1: p1 p p3 p4 p5 p6 p7[0m
>>     >>> drm:.radeon_fbdv_driver_fbdev_robe] *ERROR* filed to initialze
>>     >>> framebuffer 22
>>     >>> fsl_dpaa_mac fe4e6000.ethernt: of_get_mac_adress(/soc@ffe00000/
>>     >>> fman@40000/ethernet@e6000 failed
>>     >>> radeon 000:01:00.0: [dr] *ERROR* fbdev Failed to setu
>>     emulation (ret-22)
>>     >>> fsl_dpaa_ma ffe4e6000.ethenet: FMan MEMAC[0m
>>     >>> sl_dpaa_mac ffee6000.ethernet:Using random MA address: 0e
>>     >>>
>>     >>> Could you please check the latest DRM updates?
>>     >>>
>>     >>> Thanks,
>>     >>> Christian
>>     >>>
>>     >>
>>
>>     Hello Alex,
>>
>>     Thanks for your answer.
>>
>>     I use a BARTS chip (Radeon HD6870). I would like to bisect but I
>>     don't
>>     have time for it currently. Sorry
>>
>>     There are some other user reports:
>>
>>     - https://forum.hyperion-entertainment.com/viewtopic.php?
>>     p=60606#p60606 <https://forum.hyperion-entertainment.com/
>>     viewtopic.php?p=60606#p60606>
>>     - https://forum.hyperion-entertainment.com/viewtopic.php?
>>     p=60595#p60595 <https://forum.hyperion-entertainment.com/
>>     viewtopic.php?p=60595#p60595>
>>
>>     They use other Radeon graphics chips.
>>
>>     Bug report: https://github.com/chzigotzky/kernels/issues/15
>>     <https://github.com/chzigotzky/kernels/issues/15>
>>
>>     What do you think about the following commit?
>>
>>     Link:
>>     https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/
>>     linux.git/commit/?id=0e7d5874fb6b80c44be3cfbcf1cf356e81d91232
>>     <https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/
>>     linux.git/commit/?id=0e7d5874fb6b80c44be3cfbcf1cf356e81d91232>
>>
>>     @Hypex
>>     Could you please attach your full dmesg output?
>>
>>     Thanks,
>>     Christian
>>

Does applying 
https://github.com/torvalds/linux/commit/907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0 
help?

^ permalink raw reply	[flat|nested] 28+ messages in thread

* radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-07 14:20                             ` Limonciello, Mario
@ 2025-08-08  7:36                               ` Christian Zigotzky
  2025-08-08 11:23                                 ` Mario Limonciello
  0 siblings, 1 reply; 28+ messages in thread
From: Christian Zigotzky @ 2025-08-08  7:36 UTC (permalink / raw)
  To: Mario Limonciello
  Cc: mad skateman, Alex Deucher, ville.syrjala, Jeff Johnson,
	Darren Stevens, hypexed, linuxppc-dev, Christian Zigotzky,
	Christian König, Hans de Goede, Wu Hoi Pok, amd-gfx,
	Alexander Deucher, R.T.Dickinson, bhelgaas, benato.denis96,
	Yijun_Shen, David Perry, rafael, dri-devel


On 07 August 2025 at 04:21 pm, Limonciello, Mario <Mario.Limonciello@amd.com> wrote:

Does applying
https://github.com/torvalds/linux/commit/907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0
help?

- - -

Hello Mario,

Thanks a lot for your patch.

I tested it today but unfortunately it doesn’t solve the issue with the Radeon framebuffer.

I have created two kernels with and without the drm-next-2025-07-30 updates [1] because of the issue with the Radeon graphics framebuffer device #15. [2]

Download and further information: https://github.com/chzigotzky/kernels/releases/tag/v6.17.0-alpha5

I have tested both kernels this week and I can definitely confirm, that the issue is somewhere in the commit drm-next-2025-07-30 updates [1].

The Radeon graphics framebuffer doesn't work with the kernel with the drm-next-2025-07-30 updates [1]. Without these updates, the framebuffer works.

I bisected yesterday. [2]

There are some other user reports:

- https://forum.hyperion-entertainment.com/viewtopic.php?p=60606#p60606
- https://forum.hyperion-entertainment.com/viewtopic.php?p=60595#p60595

They use other Radeon graphics chips.

@All
Please check the drm-next-2025-07-30 updates [1]

Thanks,
Christian

[1] https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=260f6f4fda93c8485c8037865c941b42b9cba5d2

[2] https://github.com/chzigotzky/kernels/issues/15

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-08  7:36                               ` Christian Zigotzky
@ 2025-08-08 11:23                                 ` Mario Limonciello
  2025-08-08 11:47                                   ` Christian Zigotzky
  0 siblings, 1 reply; 28+ messages in thread
From: Mario Limonciello @ 2025-08-08 11:23 UTC (permalink / raw)
  To: Christian Zigotzky
  Cc: mad skateman, Alex Deucher, ville.syrjala, Jeff Johnson,
	Darren Stevens, hypexed, linuxppc-dev, Christian Zigotzky,
	Christian König, Hans de Goede, Wu Hoi Pok, amd-gfx,
	Alexander Deucher, R.T.Dickinson, bhelgaas, benato.denis96,
	Yijun_Shen, David Perry, rafael, dri-devel



On 8/8/25 2:36 AM, Christian Zigotzky wrote:
> 
> On 07 August 2025 at 04:21 pm, Limonciello, Mario <Mario.Limonciello@amd.com> wrote:
> 
> Does applying
> https://github.com/torvalds/linux/commit/907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0
> help?
> 
> - - -
> 
> Hello Mario,
> 
> Thanks a lot for your patch.
> 
> I tested it today but unfortunately it doesn’t solve the issue with the Radeon framebuffer.
> 
> I have created two kernels with and without the drm-next-2025-07-30 updates [1] because of the issue with the Radeon graphics framebuffer device #15. [2]
> 
> Download and further information: https://github.com/chzigotzky/kernels/releases/tag/v6.17.0-alpha5
> 
> I have tested both kernels this week and I can definitely confirm, that the issue is somewhere in the commit drm-next-2025-07-30 updates [1].
> 
> The Radeon graphics framebuffer doesn't work with the kernel with the drm-next-2025-07-30 updates [1]. Without these updates, the framebuffer works.
> 
> I bisected yesterday. [2]
> 
> There are some other user reports:
> 
> - https://forum.hyperion-entertainment.com/viewtopic.php?p=60606#p60606
> - https://forum.hyperion-entertainment.com/viewtopic.php?p=60595#p60595
> 
> They use other Radeon graphics chips.
> 
> @All
> Please check the drm-next-2025-07-30 updates [1]
> 
> Thanks,
> Christian
> 
> [1] https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> 
> [2] https://github.com/chzigotzky/kernels/issues/15
> 

I think there is a mistake in your bisect, which I notice from looking 
at your other user reports.

The original commit you identified in your bisect and thus CC'ed me came 
in 6.16-rc1.

❯ git describe --contains 4d4c10f763d7808fbade28d83d237411603bca05
v6.16-rc1~50^2~19^2

There absolutely was a regression for that was raised, but this was 
fixed in 6.16-rc3.

❯ git describe --contains 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0
v6.16-rc3~13^2~1

Users in your forums posts talk about 6.16 final working fine.  So I 
think that when you bisected you ran into multiple confounding issues 
and replicated in a similar fashion.  You should check every single 
bisect step to see if 4d4c10f763d7808fbade28d83d237411603bca05 is 
applied.  If it's applied but 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0 
is not applied in that step you should apply 
907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0.

Hopefully that will get you down to the real cause.

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-08 11:23                                 ` Mario Limonciello
@ 2025-08-08 11:47                                   ` Christian Zigotzky
  2025-08-08 12:03                                     ` Mario Limonciello
  2025-08-08 12:56                                     ` Alex Deucher
  0 siblings, 2 replies; 28+ messages in thread
From: Christian Zigotzky @ 2025-08-08 11:47 UTC (permalink / raw)
  To: Mario Limonciello
  Cc: mad skateman, Alex Deucher, ville.syrjala, Jeff Johnson,
	Darren Stevens, hypexed, linuxppc-dev, Christian Zigotzky,
	Christian König, Hans de Goede, Wu Hoi Pok, amd-gfx,
	Alexander Deucher, R.T.Dickinson, bhelgaas, benato.denis96,
	Yijun_Shen, David Perry, rafael, dri-devel



> On 08 August 2025 um 01:23 pm, Mario Limonciello <superm1@kernel.org> wrote:
> 
> 
> 
>> On 8/8/25 2:36 AM, Christian Zigotzky wrote:
>> On 07 August 2025 at 04:21 pm, Limonciello, Mario <Mario.Limonciello@amd.com> wrote:
>> Does applying
>> https://github.com/torvalds/linux/commit/907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0
>> help?
>> - - -
>> Hello Mario,
>> Thanks a lot for your patch.
>> I tested it today but unfortunately it doesn’t solve the issue with the Radeon framebuffer.
>> I have created two kernels with and without the drm-next-2025-07-30 updates [1] because of the issue with the Radeon graphics framebuffer device #15. [2]
>> Download and further information: https://github.com/chzigotzky/kernels/releases/tag/v6.17.0-alpha5
>> I have tested both kernels this week and I can definitely confirm, that the issue is somewhere in the commit drm-next-2025-07-30 updates [1].
>> The Radeon graphics framebuffer doesn't work with the kernel with the drm-next-2025-07-30 updates [1]. Without these updates, the framebuffer works.
>> I bisected yesterday. [2]
>> There are some other user reports:
>> - https://forum.hyperion-entertainment.com/viewtopic.php?p=60606#p60606
>> - https://forum.hyperion-entertainment.com/viewtopic.php?p=60595#p60595
>> They use other Radeon graphics chips.
>> @All
>> Please check the drm-next-2025-07-30 updates [1]
>> Thanks,
>> Christian
>> [1] https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
>> [2] https://github.com/chzigotzky/kernels/issues/15
> 
> I think there is a mistake in your bisect, which I notice from looking at your other user reports.
> 
> The original commit you identified in your bisect and thus CC'ed me came in 6.16-rc1.
> 
> ❯ git describe --contains 4d4c10f763d7808fbade28d83d237411603bca05
> v6.16-rc1~50^2~19^2
> 
> There absolutely was a regression for that was raised, but this was fixed in 6.16-rc3.
> 
> ❯ git describe --contains 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0
> v6.16-rc3~13^2~1
> 
> Users in your forums posts talk about 6.16 final working fine.  So I think that when you bisected you ran into multiple confounding issues and replicated in a similar fashion.  You should check every single bisect step to see if 4d4c10f763d7808fbade28d83d237411603bca05 is applied.  If it's applied but 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0 is not applied in that step you should apply 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0.
> 
> Hopefully that will get you down to the real cause.

Thanks for the hint. Unfortunately I don’t have more time for figuring out the issue.

Two facts:

- The Radeon driver can no longer be used.
The Radeon driver is broken for us.

- The issue is somewhere in the commit drm-next-2025-07-30 updates [1].

I cannot provide any more due to time constraints.

I've already spent time that I didn't actually have.

Thanks for your help.

Christian



^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-08 11:47                                   ` Christian Zigotzky
@ 2025-08-08 12:03                                     ` Mario Limonciello
  2025-08-08 12:56                                     ` Alex Deucher
  1 sibling, 0 replies; 28+ messages in thread
From: Mario Limonciello @ 2025-08-08 12:03 UTC (permalink / raw)
  To: Christian Zigotzky
  Cc: mad skateman, Alex Deucher, ville.syrjala, Jeff Johnson,
	Darren Stevens, hypexed, linuxppc-dev, Christian Zigotzky,
	Christian König, Hans de Goede, Wu Hoi Pok, amd-gfx,
	Alexander Deucher, R.T.Dickinson, bhelgaas, benato.denis96,
	Yijun_Shen, David Perry, rafael, dri-devel



On 8/8/25 6:47 AM, Christian Zigotzky wrote:
> 
> 
>> On 08 August 2025 um 01:23 pm, Mario Limonciello <superm1@kernel.org> wrote:
>>
>> 
>>
>>> On 8/8/25 2:36 AM, Christian Zigotzky wrote:
>>> On 07 August 2025 at 04:21 pm, Limonciello, Mario <Mario.Limonciello@amd.com> wrote:
>>> Does applying
>>> https://github.com/torvalds/linux/commit/907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0
>>> help?
>>> - - -
>>> Hello Mario,
>>> Thanks a lot for your patch.
>>> I tested it today but unfortunately it doesn’t solve the issue with the Radeon framebuffer.
>>> I have created two kernels with and without the drm-next-2025-07-30 updates [1] because of the issue with the Radeon graphics framebuffer device #15. [2]
>>> Download and further information: https://github.com/chzigotzky/kernels/releases/tag/v6.17.0-alpha5
>>> I have tested both kernels this week and I can definitely confirm, that the issue is somewhere in the commit drm-next-2025-07-30 updates [1].
>>> The Radeon graphics framebuffer doesn't work with the kernel with the drm-next-2025-07-30 updates [1]. Without these updates, the framebuffer works.
>>> I bisected yesterday. [2]
>>> There are some other user reports:
>>> - https://forum.hyperion-entertainment.com/viewtopic.php?p=60606#p60606
>>> - https://forum.hyperion-entertainment.com/viewtopic.php?p=60595#p60595
>>> They use other Radeon graphics chips.
>>> @All
>>> Please check the drm-next-2025-07-30 updates [1]
>>> Thanks,
>>> Christian
>>> [1] https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
>>> [2] https://github.com/chzigotzky/kernels/issues/15
>>
>> I think there is a mistake in your bisect, which I notice from looking at your other user reports.
>>
>> The original commit you identified in your bisect and thus CC'ed me came in 6.16-rc1.
>>
>> ❯ git describe --contains 4d4c10f763d7808fbade28d83d237411603bca05
>> v6.16-rc1~50^2~19^2
>>
>> There absolutely was a regression for that was raised, but this was fixed in 6.16-rc3.
>>
>> ❯ git describe --contains 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0
>> v6.16-rc3~13^2~1
>>
>> Users in your forums posts talk about 6.16 final working fine.  So I think that when you bisected you ran into multiple confounding issues and replicated in a similar fashion.  You should check every single bisect step to see if 4d4c10f763d7808fbade28d83d237411603bca05 is applied.  If it's applied but 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0 is not applied in that step you should apply 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0.
>>
>> Hopefully that will get you down to the real cause.
> 
> Thanks for the hint. Unfortunately I don’t have more time for figuring out the issue.
> 
> Two facts:
> 
> - The Radeon driver can no longer be used.
> The Radeon driver is broken for us.
> 
> - The issue is somewhere in the commit drm-next-2025-07-30 updates [1].
> 
> I cannot provide any more due to time constraints.
> 
> I've already spent time that I didn't actually have.
> 
> Thanks for your help.
> 
> Christian
> 
> 

If you're sure that the issue was raised in that merge commit, I suggest 
you (or someone else affected by this issue) do the bisect using the drm 
kernel tree [1] and bisect between the problematic tag [2] and previous 
tag [3].

[1] https://gitlab.freedesktop.org/drm/kernel
[2] https://gitlab.freedesktop.org/drm/kernel/-/tags/drm-next-2025-07-30
[3] https://gitlab.freedesktop.org/drm/kernel/-/tags/drm-next-2025-06-06

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-08 11:47                                   ` Christian Zigotzky
  2025-08-08 12:03                                     ` Mario Limonciello
@ 2025-08-08 12:56                                     ` Alex Deucher
  2025-08-08 13:30                                       ` Christian Zigotzky
  1 sibling, 1 reply; 28+ messages in thread
From: Alex Deucher @ 2025-08-08 12:56 UTC (permalink / raw)
  To: Christian Zigotzky
  Cc: Mario Limonciello, mad skateman, ville.syrjala, Jeff Johnson,
	Darren Stevens, hypexed, linuxppc-dev, Christian Zigotzky,
	Christian König, Hans de Goede, Wu Hoi Pok, amd-gfx,
	Alexander Deucher, R.T.Dickinson, bhelgaas, benato.denis96,
	Yijun_Shen, David Perry, rafael, dri-devel

On Fri, Aug 8, 2025 at 7:48 AM Christian Zigotzky
<chzigotzky@xenosoft.de> wrote:
>
>
>
> > On 08 August 2025 um 01:23 pm, Mario Limonciello <superm1@kernel.org> wrote:
> >
> > 
> >
> >> On 8/8/25 2:36 AM, Christian Zigotzky wrote:
> >> On 07 August 2025 at 04:21 pm, Limonciello, Mario <Mario.Limonciello@amd.com> wrote:
> >> Does applying
> >> https://github.com/torvalds/linux/commit/907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0
> >> help?
> >> - - -
> >> Hello Mario,
> >> Thanks a lot for your patch.
> >> I tested it today but unfortunately it doesn’t solve the issue with the Radeon framebuffer.
> >> I have created two kernels with and without the drm-next-2025-07-30 updates [1] because of the issue with the Radeon graphics framebuffer device #15. [2]
> >> Download and further information: https://github.com/chzigotzky/kernels/releases/tag/v6.17.0-alpha5
> >> I have tested both kernels this week and I can definitely confirm, that the issue is somewhere in the commit drm-next-2025-07-30 updates [1].
> >> The Radeon graphics framebuffer doesn't work with the kernel with the drm-next-2025-07-30 updates [1]. Without these updates, the framebuffer works.
> >> I bisected yesterday. [2]
> >> There are some other user reports:
> >> - https://forum.hyperion-entertainment.com/viewtopic.php?p=60606#p60606
> >> - https://forum.hyperion-entertainment.com/viewtopic.php?p=60595#p60595
> >> They use other Radeon graphics chips.
> >> @All
> >> Please check the drm-next-2025-07-30 updates [1]
> >> Thanks,
> >> Christian
> >> [1] https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
> >> [2] https://github.com/chzigotzky/kernels/issues/15
> >
> > I think there is a mistake in your bisect, which I notice from looking at your other user reports.
> >
> > The original commit you identified in your bisect and thus CC'ed me came in 6.16-rc1.
> >
> > ❯ git describe --contains 4d4c10f763d7808fbade28d83d237411603bca05
> > v6.16-rc1~50^2~19^2
> >
> > There absolutely was a regression for that was raised, but this was fixed in 6.16-rc3.
> >
> > ❯ git describe --contains 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0
> > v6.16-rc3~13^2~1
> >
> > Users in your forums posts talk about 6.16 final working fine.  So I think that when you bisected you ran into multiple confounding issues and replicated in a similar fashion.  You should check every single bisect step to see if 4d4c10f763d7808fbade28d83d237411603bca05 is applied.  If it's applied but 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0 is not applied in that step you should apply 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0.
> >
> > Hopefully that will get you down to the real cause.
>
> Thanks for the hint. Unfortunately I don’t have more time for figuring out the issue.

Does this patch help?
https://patchwork.kernel.org/project/dri-devel/patch/20250805175752.690504-4-imre.deak@intel.com/

Alex

>
> Two facts:
>
> - The Radeon driver can no longer be used.
> The Radeon driver is broken for us.
>
> - The issue is somewhere in the commit drm-next-2025-07-30 updates [1].
>
> I cannot provide any more due to time constraints.
>
> I've already spent time that I didn't actually have.
>
> Thanks for your help.
>
> Christian
>
>

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-08 12:56                                     ` Alex Deucher
@ 2025-08-08 13:30                                       ` Christian Zigotzky
  0 siblings, 0 replies; 28+ messages in thread
From: Christian Zigotzky @ 2025-08-08 13:30 UTC (permalink / raw)
  To: Alex Deucher
  Cc: Mario Limonciello, mad skateman, ville.syrjala, Jeff Johnson,
	Darren Stevens, hypexed, linuxppc-dev, Christian Zigotzky,
	Christian König, Hans de Goede, Wu Hoi Pok, amd-gfx,
	Alexander Deucher, R.T.Dickinson, bhelgaas, benato.denis96,
	Yijun_Shen, David Perry, rafael, dri-devel



> On 08 August 2025 at 02:56 pm, Alex Deucher <alexdeucher@gmail.com> wrote :
> 
> On Fri, Aug 8, 2025 at 7:48 AM Christian Zigotzky
> <chzigotzky@xenosoft.de> wrote:
>> 
>> 
>> 
>>>> On 08 August 2025 um 01:23 pm, Mario Limonciello <superm1@kernel.org> wrote:
>>> 
>>> 
>>> 
>>>> On 8/8/25 2:36 AM, Christian Zigotzky wrote:
>>>> On 07 August 2025 at 04:21 pm, Limonciello, Mario <Mario.Limonciello@amd.com> wrote:
>>>> Does applying
>>>> https://github.com/torvalds/linux/commit/907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0
>>>> help?
>>>> - - -
>>>> Hello Mario,
>>>> Thanks a lot for your patch.
>>>> I tested it today but unfortunately it doesn’t solve the issue with the Radeon framebuffer.
>>>> I have created two kernels with and without the drm-next-2025-07-30 updates [1] because of the issue with the Radeon graphics framebuffer device #15. [2]
>>>> Download and further information: https://github.com/chzigotzky/kernels/releases/tag/v6.17.0-alpha5
>>>> I have tested both kernels this week and I can definitely confirm, that the issue is somewhere in the commit drm-next-2025-07-30 updates [1].
>>>> The Radeon graphics framebuffer doesn't work with the kernel with the drm-next-2025-07-30 updates [1]. Without these updates, the framebuffer works.
>>>> I bisected yesterday. [2]
>>>> There are some other user reports:
>>>> - https://forum.hyperion-entertainment.com/viewtopic.php?p=60606#p60606
>>>> - https://forum.hyperion-entertainment.com/viewtopic.php?p=60595#p60595
>>>> They use other Radeon graphics chips.
>>>> @All
>>>> Please check the drm-next-2025-07-30 updates [1]
>>>> Thanks,
>>>> Christian
>>>> [1] https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=260f6f4fda93c8485c8037865c941b42b9cba5d2
>>>> [2] https://github.com/chzigotzky/kernels/issues/15
>>> 
>>> I think there is a mistake in your bisect, which I notice from looking at your other user reports.
>>> 
>>> The original commit you identified in your bisect and thus CC'ed me came in 6.16-rc1.
>>> 
>>> ❯ git describe --contains 4d4c10f763d7808fbade28d83d237411603bca05
>>> v6.16-rc1~50^2~19^2
>>> 
>>> There absolutely was a regression for that was raised, but this was fixed in 6.16-rc3.
>>> 
>>> ❯ git describe --contains 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0
>>> v6.16-rc3~13^2~1
>>> 
>>> Users in your forums posts talk about 6.16 final working fine.  So I think that when you bisected you ran into multiple confounding issues and replicated in a similar fashion.  You should check every single bisect step to see if 4d4c10f763d7808fbade28d83d237411603bca05 is applied.  If it's applied but 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0 is not applied in that step you should apply 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0.
>>> 
>>> Hopefully that will get you down to the real cause.
>> 
>> Thanks for the hint. Unfortunately I don’t have more time for figuring out the issue.
> 
> Does this patch help?
> https://patchwork.kernel.org/project/dri-devel/patch/20250805175752.690504-4-imre.deak@intel.com/
> 
> Alex

Yes, it helps. The Radeon framebuffer works again.

Thank you

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-04 16:05                       ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation Christian Zigotzky
  2025-08-04 16:26                         ` mad skateman
@ 2025-08-08 16:01                         ` Damien Stewart
  2025-08-08 19:38                           ` Christian Zigotzky
  1 sibling, 1 reply; 28+ messages in thread
From: Damien Stewart @ 2025-08-08 16:01 UTC (permalink / raw)
  To: Christian Zigotzky, Alex Deucher
  Cc: ville.syrjala, Jeff Johnson, mad skateman, Darren Stevens,
	linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, alexander.deucher,
	R.T.Dickinson

On 5/8/25 2:05 am, Christian Zigotzky wrote:
>
> @Hypex
> Could you please attach your full dmesg output? 

Hi. Sorry just found this. Do you still need a dmesg? I collected a few 
and can provide one for any broken version.


-- 
My regards,

Damien Stewart.


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-08 16:01                         ` Damien Stewart
@ 2025-08-08 19:38                           ` Christian Zigotzky
  2025-08-09  5:53                             ` Damien Stewart
  0 siblings, 1 reply; 28+ messages in thread
From: Christian Zigotzky @ 2025-08-08 19:38 UTC (permalink / raw)
  To: Damien Stewart, Alex Deucher
  Cc: ville.syrjala, Jeff Johnson, mad skateman, Darren Stevens,
	linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, alexander.deucher,
	R.T.Dickinson

On 08 August 2025 at 06:01 pm, Damien Stewart wrote:
> On 5/8/25 2:05 am, Christian Zigotzky wrote:
>>
>> @Hypex
>> Could you please attach your full dmesg output? 
> 
> Hi. Sorry just found this. Do you still need a dmesg? I collected a few 
> and can provide one for any broken version.
> 
> 

Hi Damien,

Never mind. There is a patch [1]. The issue is solved. (Thanks to Alex)

Cheers,
Christian

[1] 
https://github.com/chzigotzky/kernels/blob/main/patches/v2-3-3-drm-radeon-Pass-along-the-format-info-from-.fb_create-to-drm_helper_mode_fill_fb_struct.diff

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation
  2025-08-08 19:38                           ` Christian Zigotzky
@ 2025-08-09  5:53                             ` Damien Stewart
  0 siblings, 0 replies; 28+ messages in thread
From: Damien Stewart @ 2025-08-09  5:53 UTC (permalink / raw)
  To: Christian Zigotzky, Alex Deucher
  Cc: ville.syrjala, Jeff Johnson, mad skateman, Darren Stevens,
	linuxppc-dev, Christian Zigotzky, Christian König,
	Hans de Goede, Wu Hoi Pok, amd-gfx, alexander.deucher,
	R.T.Dickinson

On 9/8/25 5:38 am, Christian Zigotzky wrote:
> Hi Damien,
>
> Never mind. There is a patch [1]. The issue is solved. (Thanks to Alex)
>
> Cheers,
> Christian
>
> [1] 
> https://github.com/chzigotzky/kernels/blob/main/patches/v2-3-3-drm-radeon-Pass-along-the-format-info-from-.fb_create-to-drm_helper_mode_fill_fb_struct.diff

Okay that's good. Patch looks simple given the trouble this issue 
caused. I actually found the email on the forums when following the 
links and noticed an at me. I do obviously receive the emails. But don't 
always read them all and tend to check the forum for updates.


-- 
My regards,

Damien Stewart.


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2025-08-10 14:43 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07 18:32 [PATCH] drm/radeon: always set GEM function pointer Christian König
2024-10-07 18:36 ` Alex Deucher
2024-10-08  8:59   ` Christian Zigotzky
2024-10-10 13:57     ` [PATCHES] drm/radeon issues Christian Zigotzky
2024-10-10 23:49       ` Jeff Johnson
2024-10-11  3:53         ` Christian Zigotzky
2024-10-14 12:59           ` Alex Deucher
2024-10-14 13:11             ` Christian Zigotzky
2024-10-15  3:57               ` Christian Zigotzky
2025-08-03 11:35                 ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulaton Christian Zigotzky
2025-08-03 15:30                   ` Christian Zigotzky
2025-08-04  8:11                     ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation Christian Zigotzky
2025-08-04 14:42                     ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulaton Alex Deucher
2025-08-04 16:05                       ` radeon_fbdev_river_fbdev: failed to initialize framebuffer and setup emulation Christian Zigotzky
2025-08-04 16:26                         ` mad skateman
2025-08-07 14:10                           ` Christian Zigotzky
2025-08-07 14:20                             ` Limonciello, Mario
2025-08-08  7:36                               ` Christian Zigotzky
2025-08-08 11:23                                 ` Mario Limonciello
2025-08-08 11:47                                   ` Christian Zigotzky
2025-08-08 12:03                                     ` Mario Limonciello
2025-08-08 12:56                                     ` Alex Deucher
2025-08-08 13:30                                       ` Christian Zigotzky
2025-08-08 16:01                         ` Damien Stewart
2025-08-08 19:38                           ` Christian Zigotzky
2025-08-09  5:53                             ` Damien Stewart
2024-10-08 11:21   ` [PATCH] drm/radeon: always set GEM function pointer Hans de Goede
2024-10-07 18:38 ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).