aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2015-09-04 16:55:14 +0300
committerDaniel Vetter <[email protected]>2015-09-07 18:29:01 +0200
commitaa17cdb4f8367875d3a53c41e004fc02e983e317 (patch)
tree5dfaf5544a7343b43547b65062eb135e3ebb23dd /tools/perf/scripts/python
parent437b15b8017e0d946453c10794b0c5d4591cf180 (diff)
drm/i915: initialize backlight max from VBT
Normally we determine the backlight PWM modulation frequency (which we also use as backlight max value) from the backlight registers at module load time, expecting the registers have been initialized by the BIOS. If this is not the case, we fail. The VBT contains the backlight modulation frequency in Hz. Add platform specific functions to convert the frequency in Hz to backlight PWM modulation frequency, and use them to initialize the backlight when the registers are not initialized by the BIOS. v2: Fix SPT and VLV. Thanks to Clint for the VLV code. Cc: Clint Taylor <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Reviewed-by: Clint Taylor <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions