kernel NULL pointer dereference, IP: rs600_pm_prepare - huh?
Subsystems (2)
Hi,
friend send me this screenshot over whatsapp, complaining that her system wouldn't start up since yesterday. What gives?
#Best Regards/MPartap
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 3 lines · Marcel Partap
Hi,
friend send me this screenshot over whatsapp, complaining that her system wouldn't start up since yesterday. What gives?
Looks like she installed some tool that attempts to change the power state via sysfs during init which could happen before the driver has finished loading. The attached kernel patch should fix it.
Alex
Quoted 8 lines
#Best Regards/MPartap
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 8 lines · Alex Deucher
Quoted 3 lines · Marcel Partap
Hi,
friend send me this screenshot over whatsapp, complaining that her system wouldn't start up since yesterday. What gives?Looks like she installed some tool that attempts to change the power state via sysfs during init which could happen before the driver has finished loading. The attached kernel patch should fix it.
Patch attached.
Quoted 11 lines
Alex
Quoted 8 lines
#Best Regards/MPartap
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
From 3d4d4c36fc56330df05f7c03c754b01f502cd387 Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Wed, 30 Sep 2015 16:45:52 -0400
Subject: [PATCH] drm/radeon: add pm sysfs files late
They were added relatively early in the driver init process which meant that in some cases the driver was not finished initializing before external tools tried to use them which could result in a crash depending on the timing.
--- drivers/gpu/drm/radeon/radeon_display.c | 14 ++------ drivers/gpu/drm/radeon/radeon_pm.c | 63 ++++++++++++++++++++------------- 2 files changed, 40 insertions(+), 37 deletions(-)
drivers/gpu/drm/radeon/radeon_display.c +2 -12
@@ -1633,18 +1633,8 @@ int radeon_modeset_init(struct radeon_device *rdev)radeon_fbdev_init (rdev);drm_kms_helper_poll_init (rdev->ddev); -if (rdev->pm.dpm_enabled) { -/* do dpm late init */ - ret =radeon_pm_late_init (rdev); -if (ret) { - rdev->pm.dpm_enabled = false; -DRM_ERROR ("radeon_pm_late_init failed, disabling dpm\n" ); - } -/* set the dpm state for PX since there won't be -* a modeset to call this. -*/ -radeon_pm_compute_clocks (rdev); - } +/* do pm late init */ + ret =radeon_pm_late_init (rdev);return 0 ; }
drivers/gpu/drm/radeon/radeon_pm.c +38 -25
81 lines not on this page · raw message
Signature · 1 line
1.8.3.1
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi,
Quoted 3 lines
Looks like she installed some tool that attempts to change the power state via sysfs during init which could happen before the driver has finished loading.
that was probably me, installing the "tlp" thinkpad tool remotely. Thanks for pointing me in the right direction: disabling solved it for now.
Quoted 1 line
The attached kernel patch should fix it.
Unfortunately wasn't able to test because she had bandwidth bottlenecks and I had next to no time to fix it.. Might be able to test it on my thinkpad in a while.
#Best Regards!Marcel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel