New kernels

AmigaOne X5000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 9898
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

I compiled a new RC1 of kernel 6.12 with this patch today. Please test it.

Downloads:
User avatar
xeno74
Posts: 9898
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

There is another issue with the Radeon DRM driver.

I reported it to the kernel developers yesterday.

Link: Kernel doesn't boot after DRM updates (drm-next-2024-09-19)
User avatar
xeno74
Posts: 9898
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Christian Koenig is working on the fix because of the second issue with the Radeon DRM driver.
Christian Koenig wrote: That's the issue I was working on, give me 10 minutes to send out the fix.
Link: [PATCH] drm/radeon: add late_register for connector

Link to the dri devel mailing list: Messages sorted by date
User avatar
xeno74
Posts: 9898
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Christian Koenig has released a patch because of the second Radeon DRM driver issue:

Code: Select all

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);
User avatar
xeno74
Posts: 9898
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Hi All,

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

Download and further information: github.com

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

Thanks,
Christian
User avatar
xeno74
Posts: 9898
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Hi All,

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

Link: radeon drm fails to load on v6.12-rc2 "Bogus possible_clones: [ENCODER:46:TV-46] possible_clones=0x4 (full encoder mask=0x7)"

I compiled a new RC2 of kernel 6.12 with this patch today.

Download: github.com

We need 3 patches for the Radeon DRM driver currently.

Please test it.

Thanks,
Christian
User avatar
xeno74
Posts: 9898
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

I uploaded the RC2-2 to Xenosoft as well.

Download: linux-image-6.12-rc2-2-X1000_X5000.tar.gz
User avatar
xeno74
Posts: 9898
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

xeno74 wrote: Thu Oct 10, 2024 8:46 pm I uploaded the RC2-2 to Xenosoft as well.

Download: linux-image-6.12-rc2-2-X1000_X5000.tar.gz
I successfully tested the RC2-2 of kernel 6.12 with the new Radeon DRM driver with a Radeon HD5870 (CYPRESS) today.

Image
User avatar
Skateman
Posts: 894
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: New kernels

Post by Skateman »

Kernel 6.12 RC2-2 up and running on my AmigaOne X5000

Image

Big picture https://www.skateman.nl/wp-content/uplo ... -01-34.png
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
User avatar
xeno74
Posts: 9898
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Skateman wrote: Sat Oct 12, 2024 4:05 pm Kernel 6.12 RC2-2 up and running on my AmigaOne X5000
Many thanks for testing! I am happy, that the Radeon DRM driver works again.

I also successfully tested the RC2-2 of kernel 6.12 with the new Radeon DRM driver with a Radeon HD6970 (Cayman XT).

Image
Post Reply