]> 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)
commit0dad5bff3357c5f8616800f23b8b7cbc51bc4e51
treee61d204dd61031d62c84f328dddaadb587865d28
parentbec35d3df0783cbf69ef8b85d634593a837edaa3
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