|
@@ -467,8 +467,6 @@ static void assert_can_enable_dc5(struct drm_i915_private *dev_priv)
|
|
|
|
|
|
static void assert_can_disable_dc5(struct drm_i915_private *dev_priv)
|
|
|
{
|
|
|
- bool pg2_enabled = intel_display_power_well_is_enabled(dev_priv,
|
|
|
- SKL_DISP_PW_2);
|
|
|
/*
|
|
|
* During initialization, the firmware may not be loaded yet.
|
|
|
* We still want to make sure that the DC enabling flag is cleared.
|
|
@@ -476,7 +474,6 @@ static void assert_can_disable_dc5(struct drm_i915_private *dev_priv)
|
|
|
if (dev_priv->power_domains.initializing)
|
|
|
return;
|
|
|
|
|
|
- WARN_ONCE(!pg2_enabled, "PG2 not enabled to disable DC5.\n");
|
|
|
WARN_ONCE(dev_priv->pm.suspended,
|
|
|
"Disabling of DC5 while platform is runtime-suspended should never happen.\n");
|
|
|
}
|