Hi! I'm new to NetBSD but a longtime user of Unix. I have a Dell Latitude 7490 that on Linux requires two kernel options to be set: i915.enable_psr=0
and i915.enable_dc=0
. Without these the display driver will crash constantly.
I'm trying to set the same options on NetBSD. I've found there are two sysctl settings that match with these: hw.drm2.i915_modparams.enable_psr
and hw.drm2.i915_modparams.enable_dc
.
I am able to change the psr one with the sysctl command (and sysctl.conf), but get the following when I try to change the dc one (manually or in sysctl.conf):
# sysctl -w hw.drm2.i915_modparams.enable_dc=0
sysctl: hw.drm2.i915_modparams.enable_dc: Operation not permitted
How can I change this setting at boot?
Thanks!