]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: pnv has a backlight polarity control bit, too
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 5 Jun 2012 08:07:08 +0000 (10:07 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Jun 2012 17:25:03 +0000 (19:25 +0200)
commit534b5a5341cb7e16a98d44623d8fce9464ebf22c
tree5cac679026a01f3f56817d9c1c7fd542682e77d8
parentafba018898ae54b498e82b3cd4d2b61c74032c90
drm/i915: pnv has a backlight polarity control bit, too

We already correctly ignore bit0 on gen < 4, now we also know why ;-)
I've decided that losing that single bit of precision isn't worth the
trouble to sprinkle IS_PINEVIEW checks all over the backlight control
code - that code is way too fragile imo.

Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h