drm/i915/cnl: Setup PAT Index.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 15 Aug 2017 23:25:39 +0000 (16:25 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 15 Aug 2017 23:57:24 +0000 (16:57 -0700)
commit4e34935fcf691b2f553fdc34502d649bf979a06f
tree7a796eecbd96a6aa680f902547914bf055580ddc
parentdc911f5bd8aacfcf8aabd5c26c88e04c837a938e
drm/i915/cnl: Setup PAT Index.

Different from previous platforms, on CNL+ there's separated
registers for separated indexes.

v2: Remove comments regarding uncertainty around the table.
v3: Remove extra line (by Ben)

Cc: Clint Taylor <clinton.a.taylor@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170815232539.3562-1-rodrigo.vivi@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_reg.h