Skip to content

Commit 2540039

Browse files
Damien Lespiaudanvet
authored andcommitted
drm/i915: Remove unused condition in hsw_power_well_post_enable()
We don't use this function on gen9, no need for that test here. Reviewed-by: Paulo Zanoni <[email protected]> Signed-off-by: Damien Lespiau <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
1 parent d14c034 commit 2540039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/intel_runtime_pm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ static void hsw_power_well_post_enable(struct drm_i915_private *dev_priv)
194194
outb(inb(VGA_MSR_READ), VGA_MSR_WRITE);
195195
vga_put(dev->pdev, VGA_RSRC_LEGACY_IO);
196196

197-
if (IS_BROADWELL(dev) || (INTEL_INFO(dev)->gen >= 9))
197+
if (IS_BROADWELL(dev))
198198
gen8_irq_power_well_post_enable(dev_priv,
199199
1 << PIPE_C | 1 << PIPE_B);
200200
}

0 commit comments

Comments
 (0)