drm/i915: Separate RPS and RC6 handling for BDW
authorSagar Arun Kamble <[email protected]>
Tue, 10 Oct 2017 21:30:01 +0000 (22:30 +0100)
committerChris Wilson <[email protected]>
Wed, 11 Oct 2017 07:56:52 +0000 (08:56 +0100)
commit3a85392c0ea0689d8d3ba1f9c9df5d3e32bfa517
treeba2f1a7ffee28c0503d1be1f96866847a43d7e8e
parent415544d5a89fb2be3b12dc7c4682806323aabdbf
drm/i915: Separate RPS and RC6 handling for BDW

This patch separates RC6 and RPS enabling for BDW.
RC6/RPS Disabling are handled through gen6 functions.
PM Programming guide recommends a sequence within forcewakes to
configure RC6, RPS and ring frequencies in sequence. With this
patch the order is still maintained.

v2: Update sequence numbers in RC6 programming and comment about
intent of reset_rps during gen8_enable_rps. (Radoslaw)

v3: Rebase.

Signed-off-by: Sagar Arun Kamble <[email protected]>
Cc: Imre Deak <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Radoslaw Szwichtenberg <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Acked-by: Imre Deak <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/intel_pm.c