]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/tgl: Read SAGV block time from PCODE
authorJames Ausmus <james.ausmus@intel.com>
Wed, 9 Oct 2019 17:23:15 +0000 (10:23 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 10 Oct 2019 18:00:47 +0000 (11:00 -0700)
commitb8f4743fe44c5351185293395a4b15e4812ea0a4
tree9b00f89e9a08fb4c0548fe9ddf7226598bce1abf
parente9b7a9d60606e9c320a91e237e13ec2d04e9d2f9
drm/i915/tgl: Read SAGV block time from PCODE

Starting from TGL, we now need to read the SAGV block time via a PCODE
mailbox, rather than having a static value.

BSpec: 49326

v2: Fix up pcode val data type (Ville), tighten variable scope (Ville)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: James Ausmus <james.ausmus@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191004221449.1317-2-james.ausmus@intel.com
Link: https://patchwork.freedesktop.org/patch/msgid/20191009172315.11004-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c