Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95e0ee92 authored by Jason Stubbs's avatar Jason Stubbs Committed by Keith Packard
Browse files

drm/i915: fix regression after clock gating init split



During the refactoring in revision 6067aaea,
the intel_enable_clock_gating was split up into several functions that are
then called indirectly. However, which function to call was not specified for
the IS_PINEVIEW() case. This patch specifies the correct gating function.

Signed-off-by: default avatarJason Stubbs <jasonbstubbs@gmail.com>
Reviewed-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent f6b07f45
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7675,6 +7675,7 @@ static void intel_init_display(struct drm_device *dev)
			dev_priv->display.update_wm = NULL;
		} else
			dev_priv->display.update_wm = pineview_update_wm;
		dev_priv->display.init_clock_gating = gen3_init_clock_gating;
	} else if (IS_G4X(dev)) {
		dev_priv->display.update_wm = g4x_update_wm;
		dev_priv->display.init_clock_gating = g4x_init_clock_gating;