drm/i915: Assert that VED and ISP are power gated
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 29 Nov 2018 17:55:04 +0000 (19:55 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Feb 2019 16:43:50 +0000 (18:43 +0200)
commit5e0b6697651b3e6f0dd31d1e320a1a29b787f1b7
tree9fe166c816b88378270d28e035a6916777221d2d
parentc11b813f53c98e35ed257621065d6905589f78b1
drm/i915: Assert that VED and ISP are power gated

As there are no upstream drivers for VED or ISP let's just
assert that they are power gated. Otherwise they would
prevent s0ix entry.

For ISP this is only relevant when it is not exposed as a
PCI device and instead is a subordinate of the gunit. When
exposed as a PCI device it will be handled by the
atomisp2_pm driver.

On my VLV FFRD8 board the firmware power gates both of these
by default. Let's assume that is always the case and just
WARN if we ever encounter something different.

Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181129175504.3630-2-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_runtime_pm.c