]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit716b164e8caeec2cf7fee99a04858190fbaa3950
tree17167fc9f2d9a7721351b1297c61b5510f68ba4f
parent094d2dc9258fcd387a78583cc4893c6e96d8675b
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