drm/i915: don't hard code vlv backlight frequency if unset
authorJani Nikula <jani.nikula@intel.com>
Fri, 4 Sep 2015 13:55:15 +0000 (16:55 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 7 Sep 2015 16:29:56 +0000 (18:29 +0200)
commit4a999d253195db87f18215049cf7a44f795f4ca0
tree420408645ec14296995f419ce7047067d7afc15e
parentaa17cdb4f8367875d3a53c41e004fc02e983e317
drm/i915: don't hard code vlv backlight frequency if unset

Fall back to VBT based backlight modulation frequency if it's not
set. Do not hard code.

This could be a problem if there is no VBT.

Cc: Clint Taylor <clinton.a.taylor@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Tested-by: Clint Taylor <Clinton.A.Taylor@intel.com>
Reviewed-by: Clint Taylor <Clinton.A.Taylor@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_panel.c