]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Limit mmio flip RPS boosts
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Apr 2015 12:41:21 +0000 (13:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 21 May 2015 13:11:44 +0000 (15:11 +0200)
commitf4e70e984ccdb8633fe5a86c8fba1504c7b4e693
tree738a7173979e8a85e94b6fb8475634a781944d2c
parenta66f5a0fad936969539cb6b3964b52d2d25083e5
drm/i915: Limit mmio flip RPS boosts

Since we will often pageflip to an active surface, we will often have to
wait for the surface to be written before issuing the flip. Also we are
likely to wait on that surface in plenty of time before the vblank.
Since we have a mechanism for boosting when a flip misses the expected
vblank, curtain the number of times we RPS boost when simply waiting for
mmioflip.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: s/rq/req/]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c