guillaumezin / nvidiabl

/!\ Please note that I don't maintain this repository anymore, please have a look at forked projects. /!\
82 stars 82 forks source link

Fix NV4x flicker and irregular brightness progression. #49

Closed iam-TJ closed 12 years ago

iam-TJ commented 12 years ago
The original code used 16-bit I/O reads and writes to the smartdimmer
register. The Nvidia registers are 32-bit and should be addressed using
32-bit I/O operations on a word boundary

Use io{read,write}32() and adjust the register address and mask accordingly.

Signed-off-by: TJ <linux@iam.tj>
iam-TJ commented 12 years ago

This patch finally fixes the constant flickering, and the level glitches when adjusting levels. It's now smooth and consistent on the GeForce Go 7600 (NV4B).