drm/i915: Use an array of register tables in command parser
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 7 Mar 2016 07:30:27 +0000 (23:30 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 21 Mar 2016 09:02:01 +0000 (10:02 +0100)
commit361b027bc6ae8501756829043ac98e42e40494f8
treee2e87a23db286f7abef512f69777e4f51e6afc56
parenta6573e1f54b713f837ac08d87961f610c63246ba
drm/i915: Use an array of register tables in command parser

For Haswell, we will want another table of registers while retaining
the large common table of whitelisted registers shared by all gen7
devices.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
[danvet: Pipe patch through sed -e 's/\<ring\>/engine/g' to make it
apply.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_cmd_parser.c
drivers/gpu/drm/i915/intel_ringbuffer.h