Link: [PATCH] drm/radeon: add late_register for connectorChristian Koenig wrote: That's the issue I was working on, give me 10 minutes to send out the fix.
Link to the dri devel mailing list: Messages sorted by date
Link: [PATCH] drm/radeon: add late_register for connectorChristian Koenig wrote: That's the issue I was working on, give me 10 minutes to send out the fix.
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);
Hi Musa,musa wrote: Tue Oct 08, 2024 9:58 pm Hi
I got vmlinux-6.12_rc2 running with Debian 64 trixie/sid.
I got some error in the start just before login screen
Have a nice day
Okay tested. Kernel RC2 boots fine. Looks like my desktop menu issues are due to mate desktop crashing which is a known issue.xeno74 wrote: Wed Oct 09, 2024 6:13 am Please test the RC2 because of the second Radeon DRM driver issue.
Cheers,
Christian
Good to know. Thank you for testing. If the issue still exists after some weeks then we can report it to the Debian PowerPC mailing listmusa wrote: Wed Oct 09, 2024 2:17 pm Hi
I have test Debian 32 , Fienix and void with vmlinux-6.12_rc2.
No of them have this error I got whith Debian 64 .
Great, that it works. I will report the good news to the kernel developers.