[Intel-gfx] [PATCH v3] drm/i915/bdw: BDW Software Turbo

2014-08-11 Thread Daisy Sun
within 100ms, set frequency to RP0. Signed-off-by: Daisy Sun [torourke: rebased on latest and resolved conflict] Signed-off-by: Tom O'Rourke --- drivers/gpu/drm/i915/i915_drv.h | 22 drivers/gpu/drm/i915/i915_irq.c | 21 drivers/gpu/drm/i915/i915_reg.h | 4 + dr

[Intel-gfx] [PATCH v2] drm/i915/bdw: BDW Software Turbo

2014-07-09 Thread Daisy Sun
BDW supports GT C0 residency reporting in constant time unit. Driver calculates GT utilization based on C0 residency and adjusts RP frequency up/down accordingly. Signed-off-by: Daisy Sun [torourke: rebased on latest and resolved conflict] Signed-off-by: Tom O'Rourke --- drivers/gpu/drm

[Intel-gfx] [PATCH v2] drm/i915/skl: Broaden FBC resolution limit to 4096*4096

2014-06-16 Thread Daisy Sun
Staring from HSW, the resolution limit of FBC has increased to 4096*4096 Issue: VIZ-2813 Change-Id: I842f64e3cf2c0d18d29ef1bcfef3b9bb1f1764ac Signed-off-by: Daisy Sun --- drivers/gpu/drm/i915/intel_pm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH] drm/i915/bdw: BDW Software Turbo

2014-06-16 Thread Daisy Sun
BDW supports GT C0 residency reporting in constant time unit. Driver calculates GT utilization based on C0 residency and adjusts RP frequency up/down accordingly. Signed-off-by: Daisy Sun --- drivers/gpu/drm/i915/i915_drv.h | 17 drivers/gpu/drm/i915/i915_irq.c | 10

[Intel-gfx] [PATCH v3] drm/i915: Debugfs disable RPS boost and idle

2014-05-05 Thread Daisy Sun
low Daniel's comment to explain the intention. V2->V3: Abandon flush_delayed work, abandon lock of rps.hw_lock during get/set of rps.debugfs_disable_boost Signed-off-by: Daisy Sun --- drivers/gpu/drm/i915/i915_debugfs.c | 29 + drivers/gpu/drm/i915/i915_drv.h | 1

[Intel-gfx] [PATCH v2] drm/i915: Debugfs disable RPS boost and idle

2014-04-28 Thread Daisy Sun
low Daniel's comment to explain the intention. Signed-off-by: Daisy Sun --- drivers/gpu/drm/i915/i915_debugfs.c | 40 + drivers/gpu/drm/i915/i915_drv.h | 1 + drivers/gpu/drm/i915/intel_pm.c | 8 ++-- 3 files changed, 47 insertions(+), 2 deletions(

[Intel-gfx] [PATCH] drm/i915: Debugfs disable RPS boost and idle

2014-04-25 Thread Daisy Sun
turbo algorithm only Issue: VIZ-3801 Signed-off-by: Daisy Sun --- drivers/gpu/drm/i915/i915_debugfs.c | 40 + drivers/gpu/drm/i915/i915_drv.h | 1 + drivers/gpu/drm/i915/intel_pm.c | 8 ++-- 3 files changed, 47 insertions(+), 2 deletions(-) diff