drm/i915: Fix the missing PPAT cache attributes on CNL
authorZhi Wang <zhi.a.wang@intel.com>
Thu, 31 Aug 2017 19:36:14 +0000 (03:36 +0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Sat, 2 Sep 2017 00:05:37 +0000 (17:05 -0700)
commit6e31cdcfe17d8a25530924183d4a843602baebb1
tree8b480145d5c3a725bcaf3a6fc25b769efec5facf
parent41c32e5da3ff3922490341a988b2a3ae46d0b6a8
drm/i915: Fix the missing PPAT cache attributes on CNL

Add back the GEN8_PPAT_WB cache attributes in cnl_setup_private_ppat(),
which are missed on CNL.

Fixes: 4e34935fcf69 ("drm/i915/cnl: Setup PAT Index.")
Cc: Ben Widawsky <benjamin.widawsky@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1504208177-27784-1-git-send-email-zhi.a.wang@intel.com
drivers/gpu/drm/i915/i915_gem_gtt.c