summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_bios.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2013-12-14 20:38:29 -0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-16 10:02:48 +0100
commitf00076d2fd3fe25b2e8c83921818914dee37ffef (patch)
tree01c9668b05ec8e9fb3b52690ecb1dc8a66c2a4e0 /drivers/gpu/drm/i915/intel_bios.h
parentdf4547d82589714f1b0cecd93569130a452cbf46 (diff)
downloadtalos-obmc-linux-f00076d2fd3fe25b2e8c83921818914dee37ffef.tar.gz
talos-obmc-linux-f00076d2fd3fe25b2e8c83921818914dee37ffef.zip
drm/i915: parse backlight modulation frequency from the BIOS VBT
We don't actually do anything with the information yet, but parse and log what's in the VBT. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_bios.h')
-rw-r--r--drivers/gpu/drm/i915/intel_bios.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_bios.h b/drivers/gpu/drm/i915/intel_bios.h
index 81ed58cb7b31..282de5e9f39d 100644
--- a/drivers/gpu/drm/i915/intel_bios.h
+++ b/drivers/gpu/drm/i915/intel_bios.h
@@ -373,6 +373,22 @@ struct bdb_lvds_lfp_data {
struct bdb_lvds_lfp_data_entry data[16];
} __packed;
+struct bdb_lfp_backlight_data_entry {
+ u8 type:2;
+ u8 active_low_pwm:1;
+ u8 obsolete1:5;
+ u16 pwm_freq_hz;
+ u8 min_brightness;
+ u8 obsolete2;
+ u8 obsolete3;
+} __packed;
+
+struct bdb_lfp_backlight_data {
+ u8 entry_size;
+ struct bdb_lfp_backlight_data_entry data[16];
+ u8 level[16];
+} __packed;
+
struct aimdb_header {
char signature[16];
char oem_device[20];
OpenPOWER on IntegriCloud