drm/i915/tgl: Add memory type decoding for bandwidth checking
authorJames Ausmus <james.ausmus@intel.com>
Tue, 24 Sep 2019 22:28:29 +0000 (15:28 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 25 Sep 2019 22:52:08 +0000 (15:52 -0700)
commitc1f2b8124bdf2d7812a759f83a36a6d6178b5c94
treee57ff8941d04e8c34219267d9b575ebffcfebbfb
parent6677c3b167b3ba9fa183015f6244e2db28d99f29
drm/i915/tgl: Add memory type decoding for bandwidth checking

The memory type values have changed in TGL, so we need to translate them
differently than ICL. While we're moving it, fix up the ICL translation
for LPDDR4.

BSpec: 53998

v2: Fix up ICL LPDDR4 entry (Ville); Drop unused values from TGL (Ville)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: James Ausmus <james.ausmus@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190924222829.13142-1-james.ausmus@intel.com
drivers/gpu/drm/i915/display/intel_bw.c