From: Daisy Sun Date: Mon, 11 Aug 2014 18:08:38 +0000 (-0700) Subject: drm/i915/bdw: BDW Software Turbo X-Git-Tag: fixes-against-v3.18-rc2~73^2~32^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c76bb61a71083b2d90504cc6d0dda2047c5d63ca;p=pandora-kernel.git drm/i915/bdw: BDW Software Turbo 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. For offscreen workload specificly, set frequency to RP0. Offscreen task is not restricted by frame rate, it can be executed as soon as possible. Transcoding and serilized workload between CPU and GPU both need high GT performance, RP0 is a good option in this case. RC6 will kick in to compensate power consumption when GT is not active. v2: Rebase on recent drm-intel-nightly v3: Add flip timerout monitor, when no flip is deteced within 100ms, set frequency to RP0. Signed-off-by: Daisy Sun [torourke: rebased on latest and resolved conflict] Signed-off-by: Tom O'Rourke Acked-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed