diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2020-01-13 13:46:03 -0800 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2020-01-16 10:22:39 -0800 |
commit | 9e83713a721b185774e32879b85f0b2ea615936b (patch) | |
tree | a0b96d34d034047768aa666aafb3103f2e120df1 /drivers/gpu/drm/i915/i915_request.h | |
parent | 6f4194c8771f5182017be011e0a0fc1c053b18eb (diff) | |
download | linux-9e83713a721b185774e32879b85f0b2ea615936b.tar.gz linux-9e83713a721b185774e32879b85f0b2ea615936b.tar.bz2 linux-9e83713a721b185774e32879b85f0b2ea615936b.zip |
drm/i915/psr: Share the computation of idle frames
Both activate functions and the dc3co disable function were doing the
same thing, so better move to a function and share.
Also while at it adding a WARN_ON to catch invalid values.
Cc: Anshuman Gupta <anshuman.gupta@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200113214603.52158-1-jose.souza@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.h')
0 files changed, 0 insertions, 0 deletions