Bug 209727

Summary: Panic in i915kms on power mode change
Product: Base System Reporter: Juan Ramón Molina Menor <info>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: amd64
Priority: ---    
Version: CURRENT   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Picture of the panic none

Description Juan Ramón Molina Menor 2016-05-24 07:12:21 UTC
Created attachment 170587 [details]
Picture of the panic

While testing the freebsd-base-graphics/drm-next-4.6 branch with a Haswell (HD 4400) GPU laptop, changing the power mode (plugging or unplugging the power cord) leads to instant panic, while with the drm-next-3.9 branch, switching AC/battery modifies backlight value up and down without issues.

To reproduce:
# kldload drm2 
# sysctl dev.drm.skip_ddb=1 
# kldload i915kms 
[plug / unplug the power cord  (the result is exactly the same)] 
 
panic: IMPLEMENT ME 
…then the backtrace (attached image).