summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_opregion.c
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2021-08-21 01:57:10 +0300
committerMatt Roper <matthew.d.roper@intel.com>2021-08-26 01:05:20 +0300
commitd3252e1a3b2bd93ad76ae381d8f1a4e4c0ea54cc (patch)
tree8ec927f0dbf6fa16f5aeefc920d11bee653e63ff /drivers/gpu/drm/i915/display/intel_opregion.c
parent76a04cd9af1e0cd9043b3904faa3ee3dc600799e (diff)
downloadlinux-d3252e1a3b2bd93ad76ae381d8f1a4e4c0ea54cc.tar.xz
drm/i915/dg2: Memory latency values from pcode must be doubled
The memory latency values returned by pcode on DG2 are in units of "2 usec" rather than 1 usec on all other platforms. I.e., we need to double the value returned by pcode to obtain the true latency value. The bspec wording here was a bit ambiguous as to whether it wanted us to multiply or divide the pcode value by two, but we confirmed offline with the hardware team that we need to double the value the pcode gives us; this change is intended to support a larger range of potential latency values. Bspec: 49326 Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Harish Chegondi <harish.chegondi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210820225710.401136-1-matthew.d.roper@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_opregion.c')
0 files changed, 0 insertions, 0 deletions