[Intel-xe] [PATCH 18/41] fixup! drm/i915/display: Remaining changes to make xe compile
Jani Nikula
jani.nikula at intel.com
Wed Apr 12 14:19:43 UTC 2023
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
.../gpu/drm/i915/display/intel_display_power_well.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_display_power_well.c b/drivers/gpu/drm/i915/display/intel_display_power_well.c
index ddea30240a5b..bd86f570f462 100644
--- a/drivers/gpu/drm/i915/display/intel_display_power_well.c
+++ b/drivers/gpu/drm/i915/display/intel_display_power_well.c
@@ -1053,7 +1053,6 @@ static void i830_pipes_power_well_sync_hw(struct drm_i915_private *dev_priv,
i830_pipes_power_well_disable(dev_priv, power_well);
}
-#ifdef I915
static void vlv_set_power_well(struct drm_i915_private *dev_priv,
struct i915_power_well *power_well, bool enable)
{
@@ -1706,7 +1705,6 @@ static void chv_pipe_power_well_disable(struct drm_i915_private *dev_priv,
chv_set_pipe_power_well(dev_priv, power_well, false);
}
-#endif
static void
tgl_tc_cold_request(struct drm_i915_private *i915, bool block)
@@ -1831,21 +1829,17 @@ const struct i915_power_well_ops i9xx_always_on_power_well_ops = {
};
const struct i915_power_well_ops chv_pipe_power_well_ops = {
-#ifdef I915
.sync_hw = chv_pipe_power_well_sync_hw,
.enable = chv_pipe_power_well_enable,
.disable = chv_pipe_power_well_disable,
.is_enabled = chv_pipe_power_well_enabled,
-#endif
};
const struct i915_power_well_ops chv_dpio_cmn_power_well_ops = {
.sync_hw = i9xx_power_well_sync_hw_noop,
-#ifdef I915
.enable = chv_dpio_cmn_power_well_enable,
.disable = chv_dpio_cmn_power_well_disable,
.is_enabled = vlv_power_well_enabled,
-#endif
};
const struct i915_power_well_ops i830_pipes_power_well_ops = {
@@ -1886,29 +1880,23 @@ const struct i915_power_well_ops bxt_dpio_cmn_power_well_ops = {
const struct i915_power_well_ops vlv_display_power_well_ops = {
.sync_hw = i9xx_power_well_sync_hw_noop,
-#ifdef I915
.enable = vlv_display_power_well_enable,
.disable = vlv_display_power_well_disable,
.is_enabled = vlv_power_well_enabled,
-#endif
};
const struct i915_power_well_ops vlv_dpio_cmn_power_well_ops = {
.sync_hw = i9xx_power_well_sync_hw_noop,
-#ifdef I915
.enable = vlv_dpio_cmn_power_well_enable,
.disable = vlv_dpio_cmn_power_well_disable,
.is_enabled = vlv_power_well_enabled,
-#endif
};
const struct i915_power_well_ops vlv_dpio_power_well_ops = {
.sync_hw = i9xx_power_well_sync_hw_noop,
-#ifdef I915
.enable = vlv_power_well_enable,
.disable = vlv_power_well_disable,
.is_enabled = vlv_power_well_enabled,
-#endif
};
static const struct i915_power_well_regs icl_aux_power_well_regs = {
--
2.39.2
More information about the Intel-xe
mailing list