]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Switch over to the LLC/eLLC hotspot avoidance hash mode for CCS
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 24 Aug 2017 19:10:51 +0000 (22:10 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 14 Sep 2017 12:02:53 +0000 (15:02 +0300)
commit58bbc00a7ada195a627b3224c2f1bfe05da55830
treee61d204dd61031d62c84f328dddaadb587865d28
parentd5e50b808a27ef810f93da1d1e0faafb66d266c9
drm/i915: Switch over to the LLC/eLLC hotspot avoidance hash mode for CCS

Use the LLC/eLLC hotspot avoidance mode for CCS on LLC machines. This is
reported to give better performance.

Testing has indicated that we don't need to enforce any massive 2 or 4
MiB alignment for all compressed resources even though there are still
plenty of stale comments in the spec suggesting that we do.

We do need to make sure every hardware unit that deals with the
compressed data uses the same hash mode.

Cc: Ben Widawsky <ben@bwidawsk.net>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Cc: Daniel Stone <daniels@collabora.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170824191100.10949-4-ville.syrjala@linux.intel.com
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_pm.c