Displaying 3 results from an estimated 3 matches for "pwm_div".
2013 Sep 01
0
[PATCH] drm/nv50: Fix backlight not working when PWM_DIV is uninitialised
...et_data(bd);
+ struct nouveau_device *device = nv_device(drm->device);
+ int or = nv_encoder->or;
+
+ if (device->card_type == NV_50 &&
+ (device->chipset <= 0xa0 ||
+ device->chipset == 0xaa ||
+ device->chipset == 0xac))
+ nv_wr32(device, NV50_PDISP_SOR_PWM_DIV(or), 0x5e);
+
+ return 0;
+}
+
static int
nv50_backlight_init(struct drm_connector *connector)
{
@@ -191,9 +208,6 @@ nv50_backlight_init(struct drm_connector *connector)
return -ENODEV;
}
- if (!nv_rd32(device, NV50_PDISP_SOR_PWM_CTL(nv_encoder->or)))
- return 0;
-
if (device->c...
2011 Jul 26
49
[Bug 39550] New: Brightness stuck to low value after suspend/resume
https://bugs.freedesktop.org/show_bug.cgi?id=39550
Summary: Brightness stuck to low value after suspend/resume
Product: xorg
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
2016 Nov 10
12
[Bug 98677] New: [NVAC] iMac9, 1 effective backlight brightness range changes after S3
...uspend to ram via the /sys/power/state interface.
Upon resuming the backlight appears to be at 100 percent. If I set the
brightness to values such as 30 and 60 the screen remains dark. It is barely
visible as a flicker at 70. At 100 it is visible.
I've observed that the value of NV50_PDISP_SOR_PWM_DIV (0x0061c080) is 0x1
after a boot but is set to 0x84 after a resume.
It appears there's an init script in the bios dump which sets it to the value
of 0x84. I have confirmed if I use the nouveau option
nouveau.config=NvForcePost=1 that the behavior after booting is the same as
after a resume. The...