drm/i915: Give proper names to MOCS entries
authorImre Deak <imre.deak@intel.com>
Fri, 1 Jul 2016 14:32:08 +0000 (17:32 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 19 Jul 2016 17:35:37 +0000 (20:35 +0300)
commit3373ce2eccd56651579b1864fecf98b46fd1cb67
tree03a19deb7be518cb3b97aba664b66ed0212bea5e
parent6bee14ed1e1136d700e5290c080e1145982ce43e
drm/i915: Give proper names to MOCS entries

The purpose for each MOCS entry isn't well defined atm. Defining these
is important to remove any uncertainty about the use of these entries
for example in terms of performance and GPU/CPU coherency.

Suggested by Ville.

v4:
- Rename I915_MOCS_AUTO to I915_MOCS_PTE. (Chris)

CC: Rong R Yang <rong.r.yang@intel.com>
CC: Yakui Zhao <yakui.zhao@intel.com>
CC: Ville Syrjälä <ville.syrjala@linux.intel.com>
CC: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1467383528-16142-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_mocs.c
include/uapi/drm/i915_drm.h