From: Jani Nikula Date: Fri, 30 Aug 2013 16:40:30 +0000 (+0300) Subject: drm/i915: add opregion function to notify bios of encoder enable/disable X-Git-Tag: v3.13-rc1~76^2~114^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c4b0a683193a646ea3b0c609a2276ae99a7cee4;p=pandora-kernel.git drm/i915: add opregion function to notify bios of encoder enable/disable The bios interface seems messy, and it's hard to tell what the bios really wants. At first, only add support for DDI based machines (hsw+), and see how it turns out. The spec says to notify prior to power down and after power up. It is unclear whether it makes a difference. v2: - squash notification function and callers patches together (Daniel) - move callers to haswell_crtc_{enable,disable} (Daniel) - rename notification function (Chris) v3: - separate notification function and callers again, as it's not clear whether the display power state notification is the right thing to do after all v4: per Paulo's review: - drop LVDS - WARN on unsupported encoder types Signed-off-by: Jani Nikula Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed