drm/i915/gen10+: use the SKL code for reading WM latencies
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 9 Aug 2017 20:52:43 +0000 (13:52 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 10 Aug 2017 20:59:27 +0000 (13:59 -0700)
commit50682ee63fa3480b0541d0a311239189634b68ab
tree17167fc9f2d9a7721351b1297c61b5510f68ba4f
parent06bfe5b0d892f8120172380694eb66eeb23baf90
drm/i915/gen10+: use the SKL code for reading WM latencies

Gen 10 should use the exact same code as Gen 9, so change the check to
take this into consideration, and also assume that future platforms
will run this code.

Also add a MISSING_CASE(), just in case we do something wrong, instead
of silently failing.

Cc: Mahesh Kumar <mahesh1.kumar@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170809205248.11917-1-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/intel_pm.c