tree:   git://anongit.freedesktop.org/drm-intel for-linux-next
head:   31685c258e0b0ad6aa486c5ec001382cf8a64212
commit: 31685c258e0b0ad6aa486c5ec001382cf8a64212 [143/143] drm/i915/vlv: WA for 
Turbo and RC6 to work together.

drivers/gpu/drm/i915/i915_irq.c:1385 vlv_calc_delay_from_C0_counters() warn: 
impossible condition '(adj < 0) => (0-255 < 0)'

git remote add drm-intel git://anongit.freedesktop.org/drm-intel
git remote update drm-intel
git checkout 31685c258e0b0ad6aa486c5ec001382cf8a64212
vim +1385 drivers/gpu/drm/i915/i915_irq.c

31685c25 Deepak S 2014-07-03  1369                      adj *= 2;
31685c25 Deepak S 2014-07-03  1370              else
31685c25 Deepak S 2014-07-03  1371                      adj = 1;
31685c25 Deepak S 2014-07-03  1372  
31685c25 Deepak S 2014-07-03  1373              if (dev_priv->rps.cur_freq < 
dev_priv->rps.max_freq_softlimit)
31685c25 Deepak S 2014-07-03  1374                      new_delay = 
dev_priv->rps.cur_freq + adj;
31685c25 Deepak S 2014-07-03  1375  
31685c25 Deepak S 2014-07-03  1376              /*
31685c25 Deepak S 2014-07-03  1377               * For better performance, jump 
directly
31685c25 Deepak S 2014-07-03  1378               * to RPe if we're below it.
31685c25 Deepak S 2014-07-03  1379               */
31685c25 Deepak S 2014-07-03  1380              if (new_delay < 
dev_priv->rps.efficient_freq)
31685c25 Deepak S 2014-07-03  1381                      new_delay = 
dev_priv->rps.efficient_freq;
31685c25 Deepak S 2014-07-03  1382  
31685c25 Deepak S 2014-07-03  1383      } else if 
(!dev_priv->rps.ei_interrupt_count &&
31685c25 Deepak S 2014-07-03  1384                      (residency_C0_down < 
VLV_RP_DOWN_EI_THRESHOLD)) {
31685c25 Deepak S 2014-07-03 @1385              if (adj < 0)
31685c25 Deepak S 2014-07-03  1386                      adj *= 2;
31685c25 Deepak S 2014-07-03  1387              else
31685c25 Deepak S 2014-07-03  1388                      adj = -1;
31685c25 Deepak S 2014-07-03  1389              /*
31685c25 Deepak S 2014-07-03  1390               * This means, C0 residency is 
less than down threshold over
31685c25 Deepak S 2014-07-03  1391               * a period of 
VLV_INT_COUNT_FOR_DOWN_EI. So, reduce the freq
31685c25 Deepak S 2014-07-03  1392               */
31685c25 Deepak S 2014-07-03  1393              if (dev_priv->rps.cur_freq > 
dev_priv->rps.min_freq_softlimit)

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
_______________________________________________
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to