Re: [PATCH 05/18] drm/i915/skl: Make the init clock gating function skylake specific

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/02/2015 19:33, Damien Lespiau wrote:
We'll gather cross-gen9 W/A in a separate function later.

Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>

Reviewed-by: Nick Hoath <nicholas.hoath@xxxxxxxxx>

---
  drivers/gpu/drm/i915/intel_pm.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 6fd6f26..03e27c2 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -52,7 +52,7 @@
  #define INTEL_RC6p_ENABLE			(1<<1)
  #define INTEL_RC6pp_ENABLE			(1<<2)

-static void gen9_init_clock_gating(struct drm_device *dev)
+static void skl_init_clock_gating(struct drm_device *dev)
  {
  	struct drm_i915_private *dev_priv = dev->dev_private;

@@ -6415,7 +6415,7 @@ void intel_init_pm(struct drm_device *dev)
  	if (INTEL_INFO(dev)->gen >= 9) {
  		skl_setup_wm_latency(dev);

-		dev_priv->display.init_clock_gating = gen9_init_clock_gating;
+		dev_priv->display.init_clock_gating = skl_init_clock_gating;
  		dev_priv->display.update_wm = skl_update_wm;
  		dev_priv->display.update_sprite_wm = skl_update_sprite_wm;
  	} else if (HAS_PCH_SPLIT(dev)) {


_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux