Commit 246bdbeb authored by Eugeni Dodonov's avatar Eugeni Dodonov Committed by Daniel Vetter

drm/i915: share forcewaking code between IVB and HSW

Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: default avatarEugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent ef4d084f
...@@ -9312,7 +9312,7 @@ static void intel_init_display(struct drm_device *dev) ...@@ -9312,7 +9312,7 @@ static void intel_init_display(struct drm_device *dev)
dev_priv->display.force_wake_put = __gen6_gt_force_wake_put; dev_priv->display.force_wake_put = __gen6_gt_force_wake_put;
/* IVB configs may use multi-threaded forcewake */ /* IVB configs may use multi-threaded forcewake */
if (IS_IVYBRIDGE(dev)) { if (IS_IVYBRIDGE(dev) || IS_HASWELL(dev)) {
u32 ecobus; u32 ecobus;
/* A small trick here - if the bios hasn't configured MT forcewake, /* A small trick here - if the bios hasn't configured MT forcewake,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment