OSDN Git Service

drm/i915: take a power domain reference while checking the HDMI live status
authorImre Deak <imre.deak@intel.com>
Thu, 19 Nov 2015 18:55:01 +0000 (20:55 +0200)
committerImre Deak <imre.deak@intel.com>
Fri, 20 Nov 2015 09:48:57 +0000 (11:48 +0200)
commit29bb94bb4dc151024feb649422f3b2bccb37e97d
treeedf3e6d72ff27a61505b4aa6dd647de649f4e689
parent69172f210e9fffaf8f5d85696b3b96e96e8234e5
drm/i915: take a power domain reference while checking the HDMI live status

There are platforms that don't need the full GMBUS power domain (BXT)
while others do (PCH, VLV/CHV). For optimizing this we would need to add
a new power domain, but it's not clear how much we would benefit given
the short time we hold the reference. So for now let's keep things
simple.

v2:
- fix commit message, PCH won't take any redundant power resource after
this change (Ville)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
[fix commit message in v2 (Imre)]
Link: http://patchwork.freedesktop.org/patch/msgid/1447959301-1263-2-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_hdmi.c